Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Map ,w to <C-w> for easier on the fingers window commands.

  • Loading branch information...
commit 0d410251708f148dadca426a646da4b4b0433728 1 parent a9eceaa
Simon Mutch authored
Showing with 4 additions and 1 deletion.
  1. +1 −1  after/ftplugin/tex.vim
  2. +3 −0  vimrc
View
2  after/ftplugin/tex.vim
@@ -22,7 +22,7 @@ function! HardWrapSentences()
call append('.', lineparts)
delete
endfunction
-nnoremap ,w :call HardWrapSentences()<CR>
+nnoremap ,W :call HardWrapSentences()<CR>
" Save then compile
nmap <buffer> <leader>s :w<CR><leader>ll
View
3  vimrc
@@ -138,6 +138,9 @@ nnoremap Y y$
" Easy on the fingers save binding
nnoremap ;' :w<CR>
+" Another easier on the fingers binding
+nmap ,w <C-w>
+
" Use omnicompletion!
set ofu=syntaxcomplete#Complete
au FileType python set omnifunc=pythoncomplete#Complete
Please sign in to comment.
Something went wrong with that request. Please try again.