Skip to content

Commit 3995dbc

Browse files
committed
Add custom vim config to fork
1 parent 1d312d3 commit 3995dbc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ sources_forked/yankring/doc/tags
55
sources_non_forked/tlib/doc/tags
66
sources_non_forked/ctrlp.vim/doc/tags*
77
my_plugins/
8-
my_configs.vim
98
tags
109
.DS_Store

my_configs.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
noremap <C-w>n :NERDTreeToggle<cr>
2+
noremap <C-w>\| :vsplit<cr>
3+
autocmd StdinReadPre * let s:std_in=1
4+
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | exe 'cd '.argv()[0] | endif

0 commit comments

Comments
 (0)