Permalink
Browse files

vim settings

  • Loading branch information...
1 parent 52935a0 commit 91fedf732d4b8f6241e06fa41e579a09efa23332 @gabesoft committed Oct 6, 2012
Showing with 7 additions and 7 deletions.
  1. +2 −2 .vimrc
  2. +5 −5 .vimrc.view
View
4 .vimrc
@@ -308,8 +308,8 @@ inoremap <expr><C-e> neocomplcache#cancel_popup()
" ---------
nnoremap <silent> <F11> :YRShow<CR>
-" copy path
-"nmap <leader>y :CopyPath<CR>
+" copy the full path of the current file
+nmap <leader>y :CopyPath<CR>
" key remapings
" ------------------------------------------------------------------------------
View
@@ -30,7 +30,7 @@ setlocal commentstring=\"%s
setlocal complete=.,w,b,u,t,i
setlocal concealcursor=
setlocal conceallevel=0
-setlocal completefunc=neocomplcache#manual_complete
+setlocal completefunc=neocomplcache#auto_complete
setlocal nocopyindent
setlocal cryptmethod=
setlocal nocursorbind
@@ -41,7 +41,7 @@ setlocal dictionary=
setlocal nodiff
setlocal equalprg=
setlocal errorformat=
-setlocal noexpandtab
+setlocal expandtab
if &filetype != 'vim'
setlocal filetype=vim
endif
@@ -114,12 +114,12 @@ setlocal nowinfixwidth
setlocal nowrap
setlocal wrapmargin=0
silent! normal! zE
-let s:l = 1 - ((0 * winheight(0) + 25) / 51)
+let s:l = 311 - ((24 * winheight(0) + 25) / 51)
if s:l < 1 | let s:l = 1 | endif
exe s:l
normal! zt
-1
-normal! 0
+311
+normal! 039l
lcd /gree/Mithril
let &so = s:so_save | let &siso = s:siso_save
doautoall SessionLoadPost

0 comments on commit 91fedf7

Please sign in to comment.