Commit 9e5d467c authored by Dom Sekotill's avatar Dom Sekotill
Browse files

vim: added ctrl-space buffer management plugin

parent 9ab7c61e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -13,3 +13,6 @@
[submodule ".vim/bundle/vim-fugitive"]
	path = .vim/bundle/vim-fugitive
	url = git://github.com/tpope/vim-fugitive.git
[submodule "/home/dom/.vim/bundle/vim-ctrlspace"]
	path = .vim/bundle/vim-ctrlspace
	url = https://github.com/vim-ctrlspace/vim-ctrlspace.git
Original line number Diff line number Diff line
Subproject commit f7987e4e21b238732632be704d033a73aacbb65d
+13 −0
Original line number Diff line number Diff line
@@ -16,11 +16,24 @@ set exrc
" Split controls
set splitbelow
set splitright
set switchbuf=split
noremap <C-J> <C-W><C-J>
noremap <C-K> <C-W><C-K>
noremap <C-H> <C-W><C-H>
noremap <C-L> <C-W><C-L>

" Buffer management controls
noremap <C-^> :b! #<CR>

" vim-ctrlspace plugin settings
set nocompatible
set hidden
if executable("ag")
	let g:CtrlSpaceGlobCommand = 'ag -Ul --nocolor -g "" --hidden --ignore .git --ignore .svn --ignore .hg'
endif
let g:CtrlSpaceSaveWorkspaceOnSwitch = 1
let g:CtrlSpaceSaveWorkspaceOnExit = 1

" Modeline
set modeline
set ls=2