From 1b2d2691182e15e198f652b46c9107a69f1f7545 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Sat, 28 Feb 2015 20:27:56 -0600 Subject: [PATCH] vim change ^ and $ go to end of current line update mapping of ^ and $ to go to the beginning of the current line, even when line wrapping is enabled --- vim/vimrc.symlink | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index 912cfd0..a42883a 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -239,6 +239,8 @@ nnoremap 3 " moving up and down work as you would expect nnoremap j gj nnoremap k gk +nnoremap ^ g^ +nnoremap $ g$ " search for word under the cursor nnoremap / "fyiw :/f @@ -253,6 +255,8 @@ let g:silent_custom_command = 0 nmap \t :set ts=4 sts=4 sw=4 noet nmap \s :set ts=4 sts=4 sw=4 et +nmap w :setf textile :Goyo + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Functions """""""""""""""""""""""""""""""""""""""""""""""""""""""""""