aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Overbruck <overbruck@mir.de>2014-10-06 12:17:58 +0200
committerDuncan Overbruck <overbruck@mir.de>2014-10-06 12:17:58 +0200
commit42de361af959dab955895f2c0369621b99f4202d (patch)
tree361fd85ee7e83525fe2c4d9d81d364e33b280755
parent5cc53f0fc1e3a9fde382624df2d1a5a9bad1bd1c (diff)
downloaddotfiles-42de361af959dab955895f2c0369621b99f4202d.tar.gz
add plugin settings in seperated files
-rw-r--r--vim/settings/autoclose.vim1
-rw-r--r--vim/settings/ctrlp.vim5
-rw-r--r--vim/settings/kwbd.vim1
-rw-r--r--vim/settings/nerdtree.vim4
-rw-r--r--vim/settings/tagbar.vim1
-rw-r--r--vim/settings/ultisnips.vim3
-rw-r--r--vim/settings/youcompleteme.vim1
7 files changed, 12 insertions, 4 deletions
diff --git a/vim/settings/autoclose.vim b/vim/settings/autoclose.vim
new file mode 100644
index 0000000..c9d9dff
--- /dev/null
+++ b/vim/settings/autoclose.vim
@@ -0,0 +1 @@
+let g:autoclose_vim_commentmode = 1
diff --git a/vim/settings/ctrlp.vim b/vim/settings/ctrlp.vim
new file mode 100644
index 0000000..e65a5d0
--- /dev/null
+++ b/vim/settings/ctrlp.vim
@@ -0,0 +1,5 @@
+let g:ctrlp_map = '<c-p>'
+let g:ctrlp_custom_ignore = {
+ \ 'dir': '\v[\/]\.(git|hg|svn)$',
+ \ 'file': '\.pyc$\|\.pyo$\|\.rbc$|\.rbo$\|\.class$\|\.o$\|\~$\',
+\ }
diff --git a/vim/settings/kwbd.vim b/vim/settings/kwbd.vim
new file mode 100644
index 0000000..06a1733
--- /dev/null
+++ b/vim/settings/kwbd.vim
@@ -0,0 +1 @@
+nmap <C-W>! <Plug>Kwbd
diff --git a/vim/settings/nerdtree.vim b/vim/settings/nerdtree.vim
index fa54078..985f555 100644
--- a/vim/settings/nerdtree.vim
+++ b/vim/settings/nerdtree.vim
@@ -1,7 +1,3 @@
-map <C-e> <plug>NERDTreeTabsToggle<CR>
-map <leader>e :NERDTreeToggle<CR>
-nmap <leader>nt :NERDTreeToggle<CR>
-
let NERDTreeShowBookmarks=1
let NERDTreeIgnore=['\.py[cd]$', '\~$', '\.swo$', '\.swp$', '^\.git$', '^\.hg$', '^\.svn$', '\.bzr$']
let NERDTreeChDirMode=0
diff --git a/vim/settings/tagbar.vim b/vim/settings/tagbar.vim
new file mode 100644
index 0000000..46e83e7
--- /dev/null
+++ b/vim/settings/tagbar.vim
@@ -0,0 +1 @@
+nnoremap <silent> <leader>tt :TagbarToggle<CR>
diff --git a/vim/settings/ultisnips.vim b/vim/settings/ultisnips.vim
new file mode 100644
index 0000000..a50e9db
--- /dev/null
+++ b/vim/settings/ultisnips.vim
@@ -0,0 +1,3 @@
+let g:UltiSnipsExpandTrigger="<c-j>"
+let g:UltiSnipsJumpForwardTrigger="<c-j>"
+let g:UltiSnipsJumpBackwardTrigger="<c-k>"
diff --git a/vim/settings/youcompleteme.vim b/vim/settings/youcompleteme.vim
new file mode 100644
index 0000000..ae91d93
--- /dev/null
+++ b/vim/settings/youcompleteme.vim
@@ -0,0 +1 @@
+let g:ycm_key_list_previous_completion=['<Up>']