summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-10-26 18:30:12 -0400
committerJesse Luehrs <doy@tozt.net>2013-10-26 18:30:55 -0400
commitb80a4d4d0f3ff441ad9b04a6b357515037ddb3b4 (patch)
treec5301ee2745809225a061866ec8cc491fdcdf30e
parent7686c90b5ed622fa58606fcc663681f2deaa4f6a (diff)
downloadconf-b80a4d4d0f3ff441ad9b04a6b357515037ddb3b4.tar.gz
conf-b80a4d4d0f3ff441ad9b04a6b357515037ddb3b4.zip
try out vimfiler
-rw-r--r--.gitignore1
-rw-r--r--.gitmodules3
m---------vim/bundle/vimfiler0
-rw-r--r--vimrc15
4 files changed, 17 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 1d438bc..19ced74 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@ vim/fuf-data/
vim/undo/
vim/hist*
vim/unite/
+vim/vimfiler/
newsbeuter/cache.db
newsbeuter/cache.db.lock
newsbeuter/error.log
diff --git a/.gitmodules b/.gitmodules
index 1c29c75..f6ac18f 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -52,3 +52,6 @@
[submodule "vim/bundle/unite"]
path = vim/bundle/unite
url = git://github.com/Shougo/unite.vim
+[submodule "vim/bundle/vimfiler"]
+ path = vim/bundle/vimfiler
+ url = git://github.com/Shougo/vimfiler.vim
diff --git a/vim/bundle/vimfiler b/vim/bundle/vimfiler
new file mode 160000
+Subproject d297bfdc4b4ae10daa0a6e19b7dc083e3c9ea4a
diff --git a/vimrc b/vimrc
index b36944c..d569bec 100644
--- a/vimrc
+++ b/vimrc
@@ -592,8 +592,8 @@ nmap <silent> <Leader>= :call <SID>align_assignments()<CR>
nmap Y y$
" try 'e' instead of 'c' for change
-nmap e c
-nmap E C
+nnoremap e c
+nnoremap E C
" buffer switching
nmap H :bp<CR>
@@ -716,4 +716,15 @@ function! s:unite_my_settings()
endfunction
nmap <silent> t :Unite -start-insert -silent buffer file_rec<CR>
" }}}
+" vimfiler {{{
+let g:vimfiler_data_directory = '~/.vim/vimfiler'
+let g:vimfiler_as_default_explorer = 1
+let g:vimfiler_execute_file_list = { "_": "vim" }
+autocmd FileType vimfiler call s:vimfiler_my_settings()
+function! s:vimfiler_my_settings()
+ nmap <silent><buffer> \ <Plug>(vimfiler_exit)
+ nmap <silent><buffer> <Return> <Plug>(vimfiler_edit_file)
+endfunction
+nmap c :VimFilerSimple -quit -explorer<CR>
+" }}}
" }}}