From 6737784ac68862a1d2829b5e40cf78def0ef5524 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Mon, 17 Aug 2020 13:44:04 +0200 Subject: [PATCH] Move vim F1-F4 mappings to separate file --- vim/plugin/shame.vim | 4 ---- vim/plugin/status.vim | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 vim/plugin/status.vim diff --git a/vim/plugin/shame.vim b/vim/plugin/shame.vim index 6c01e23..04fed5d 100644 --- a/vim/plugin/shame.vim +++ b/vim/plugin/shame.vim @@ -586,10 +586,6 @@ nnoremap Ea a " This one does nothing, but I'm adding it to remember not to remap the tab key nnoremap nnoremap -noremap :setl number! -noremap :setl relativenumber! -noremap :setl autowriteall!:setl autowriteall? -noremap :setl list! nnoremap ge nnoremap gE com! SetWD :cd %:p:h diff --git a/vim/plugin/status.vim b/vim/plugin/status.vim new file mode 100644 index 0000000..2767744 --- /dev/null +++ b/vim/plugin/status.vim @@ -0,0 +1,5 @@ +noremap :setl number! +noremap :setl relativenumber! +noremap :let &laststatus=!&laststatus*2 +noremap :setl autowriteall!:setl autowriteall? +noremap :setl list!