diff --git a/vim/shortcuts.vim b/vim/shortcuts.vim index a4f4989..e451856 100644 --- a/vim/shortcuts.vim +++ b/vim/shortcuts.vim @@ -1,6 +1,4 @@ """" Leader shortcuts - - let mapleader = "," " also use space as leader nmap @@ -106,7 +104,7 @@ map hc :HiColumn "" Indent Guides map I :IndentGuidesToggle -" Goyo +"" Goyo nmap za :Goyo 80%x85% nmap zz :Goyo @@ -114,6 +112,7 @@ nmap zz :Goyo let s:uname='' let s:uname = system('uname | tr -d "\n"') " Get platform name (stripping the trailing newline) + if s:uname == "Darwin" "" Mac specific stuff elseif s:uname == "Linux" @@ -144,8 +143,8 @@ noremap p "+P noremap Y "+y noremap P "+P -" A friggin python breakpoint. Invoke with @b "FIXME: make this decent -let @b = 'A breakpoint()€ýajkj0' +" Insert a python breakpoint +let @b = 'ibreakpoint() €ýa' " visual mode mappings vnoremap k :call VisualSelection('ack', '')