vim: add Goyo shortcuts

- `<leader>za` opens Goyo
- `<leader>zz` toggles Goyo
feature/symbol-search
bretello 2021-01-09 23:46:30 +01:00
parent 9e2e7e1ee0
commit 651bfe01f7
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 6 additions and 1 deletions

View File

@ -87,7 +87,12 @@ map <leader>t :CtrlPTag<CR>
"" Indent Guides
map <leader>I :IndentGuidesToggle<CR>
"Misc stuff
" Goyo
nmap <leader>za :Goyo 80%x85%<CR>
nmap <leader>zz :Goyo<CR>
""Misc stuff
let s:uname=''
let s:uname = system('uname | tr -d "\n"') " Get platform name (stripping the trailing newline)
if s:uname == "Darwin"