From f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 20 Oct 2020 20:53:19 +0200 Subject: init.vim rework --- .config/nvim/bindings.vim | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .config/nvim/bindings.vim (limited to '.config/nvim/bindings.vim') diff --git a/.config/nvim/bindings.vim b/.config/nvim/bindings.vim new file mode 100644 index 0000000..0165d7a --- /dev/null +++ b/.config/nvim/bindings.vim @@ -0,0 +1,35 @@ +nnoremap c "_c +nnoremap :call NERDComment(0,"toggle") +nnoremap : +nnoremap :! +nnoremap :bprevious +nnoremap :bnext +nnoremap h +nnoremap j +nnoremap k +nnoremap l +nnoremap o +nnoremap q +nnoremap 1 o +nnoremap 2 :sp +nnoremap 3 :vsp +nnoremap 0 q +nnoremap g :G +nnoremap d :Vifm +nnoremap e :Files +nnoremap b :Buffers +nnoremap s :w +nnoremap w :w:bp:bd # +nnoremap x :w:bp:bd # +nmap 1 AirlineSelectTab1 +nmap 2 AirlineSelectTab2 +nmap 3 AirlineSelectTab3 +nmap 4 AirlineSelectTab4 +nmap 5 AirlineSelectTab5 +nmap 6 AirlineSelectTab6 +nmap 7 AirlineSelectTab7 +nmap 8 AirlineSelectTab8 +nmap 9 AirlineSelectTab9 +nmap 0 AirlineSelectTab10 +inoremap pumvisible() ? "" : "" +inoremap pumvisible() ? "" : "" -- cgit v1.2.3