aboutsummaryrefslogtreecommitdiff
path: root/vim/plugins.vim
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-02-21 01:01:29 -0500
committerMitch Riedstra <mitch@riedstra.us>2018-02-21 01:01:29 -0500
commit5d40569e5c1ca453df1bf7b0547f3f69e3e684d7 (patch)
tree0658eeaef820299519a2dcd0666278727fc83676 /vim/plugins.vim
parent261aaa8cf687be76e67fe5423f59450365769889 (diff)
downloadvim-cfg-5d40569e5c1ca453df1bf7b0547f3f69e3e684d7.tar.gz
vim-cfg-5d40569e5c1ca453df1bf7b0547f3f69e3e684d7.tar.xz
Add a makefile to rework init.vim. Commit update init.vm TODO: remove in the future and run make in setup
Diffstat (limited to 'vim/plugins.vim')
-rw-r--r--vim/plugins.vim34
1 files changed, 34 insertions, 0 deletions
diff --git a/vim/plugins.vim b/vim/plugins.vim
new file mode 100644
index 0000000..83c220a
--- /dev/null
+++ b/vim/plugins.vim
@@ -0,0 +1,34 @@
+" Maily for the ability to match HTML tags with '%'
+runtime macros/matchit.vim
+
+" Love hate relationship with this thing. I guess it's back
+map <C-n> :NERDTreeToggle<CR>
+
+
+" To enable/disable the autocomplete dropdown
+nmap <leader> [ :AcpDisable<CR>
+nmap <leader> ] :AcpEnable<CR>
+
+" Gundo
+nnoremap <F5> :GundoToggle<CR>
+"
+" Enable the list of buffers
+let g:airline#extensions#tabline#enabled = 1
+
+" Show just the filename
+let g:airline#extensions#tabline#fnamemod = ':t'
+
+" This lets you just hit enter instead
+" of pressing control-n Some people like it
+" personally I'm not that much of a fan
+" set completeopt=longest,menuone
+
+" Omni completion
+filetype plugin on
+set omnifunc=syntaxcomplete#Complete
+
+nmap <F8> :TagbarToggle<CR>
+
+let g:ctrlp_follow_symlinks = 1
+let g:ctrlp_working_path_mode = 0
+