Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
home
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Murukesh Mohanan
home
Commits
d714fadc
Commit
d714fadc
authored
Jan 30, 2016
by
Murukesh Mohanan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plugin update
parent
7560c839
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
14 deletions
+18
-14
.vim/bundle/YouCompleteMe
.vim/bundle/YouCompleteMe
+1
-1
.vim/bundle/airline
.vim/bundle/airline
+1
-1
.vim/bundle/syntastic
.vim/bundle/syntastic
+1
-1
.vim/bundle/vim-go
.vim/bundle/vim-go
+1
-1
.vim/bundle/vimtex
.vim/bundle/vimtex
+1
-1
.vim/vimrc
.vim/vimrc
+13
-9
No files found.
YouCompleteMe
@
5ee7bd2c
Subproject commit
d05bf551a677ac70d5b6de707a7174a97dccd4dd
Subproject commit
5ee7bd2c807384ac51074f8212a4aec5364627b9
airline
@
c88f04cd
Subproject commit
fb76dfbca1fbc4ae5a946835135cb32b72be6a66
Subproject commit
c88f04cd1abecbc2190dff9241eda67868389032
syntastic
@
de0106e8
Subproject commit d
1a179d750bd1d136d7f38e69f2c5b8439886de7
Subproject commit d
e0106e839e6ee21a5dd3c42f1abb7d79d931bdd
vim-go
@
a1cfa117
Subproject commit
b85b550c6cf3c838db5990a3b202069964429f05
Subproject commit
a1cfa1175303942ca8cd32454d324a9e56b046fa
vimtex
@
664b7259
Subproject commit
0212c94e31f953378092249bc791eaaa4c5ccb1a
Subproject commit
664b7259ce7b408e1b3affb93f307c0395eb8bbd
.vim/vimrc
View file @
d714fadc
...
...
@@ -166,15 +166,19 @@ endif
function! FindInPath(name)
" Force creation of new file for paths beginning with ./
if expand('%') !~ '^[.~]\?/'
let path=&path
" Add any extra directories to the normal search path
set path+=~,~/.vim,/etc
" If :find finds a file, then wipeout the buffer that was created for the "new" file
setlocal bufhidden=wipe
exe 'silent keepalt find! '. fnameescape(expand('<afile>'))
" Restore 'path' and 'bufhidden' to their normal values
let &path=path
set bufhidden<
try
let path=&path
" Add any extra directories to the normal search path
set path+=~,~/.vim,/etc
" If :find finds a file, then wipeout the buffer that was created for the "new" file
setlocal bufhidden=wipe
exe 'silent keepalt find! '. fnameescape(expand('<afile>'))
" Restore 'path' and 'bufhidden' to their normal values
let &path=path
set bufhidden<
catch /^Vim\%((\a\+)\)\=:E345/
return 0
endtry
endif
endfunction
autocmd BufNewFile * nested call FindInPath(expand('<afile>'))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment