diff --git a/init.vim b/init.vim index 596fdcb..708cb9c 100644 --- a/init.vim +++ b/init.vim @@ -37,8 +37,8 @@ set ignorecase set smartcase "Informative statusline -set statusline=%F%m%r%h%w\ [TYPE=%Y\ %{&ff}]\ [%02l:%02v\ (%p%%)\ %L\ Lines]\ [ASCII=\%03.3b]\ [HEX=\%02.2B] -set laststatus=2 +"set statusline=%F%m%r%h%w\ [TYPE=%Y\ %{&ff}]\ [%02l:%02v\ (%p%%)\ %L\ Lines]\ [ASCII=\%03.3b]\ [HEX=\%02.2B] +"set laststatus=2 " Beautify the look and feel syntax on diff --git a/keymap.vim b/keymap.vim index 5b392c3..7f3e274 100644 --- a/keymap.vim +++ b/keymap.vim @@ -31,3 +31,8 @@ nmap :GrammarousCheck " Map the esc key to close a terminal tnoremap :bd! + +" Map a key to toggle vim-pencil's auto formatting +noremap :PFormatToggle +inoremap :PFormatToggle +