From db70b6bb44662255fef4c8785e57adf715731f32 Mon Sep 17 00:00:00 2001 From: kat witch Date: Wed, 19 May 2021 13:34:45 +0100 Subject: [PATCH] users/kat/base: tabs tabs tabs tabs tabs tabs --- users/kat/base/vim/vimrc.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/users/kat/base/vim/vimrc.nix b/users/kat/base/vim/vimrc.nix index dda715dc..0d3097aa 100644 --- a/users/kat/base/vim/vimrc.nix +++ b/users/kat/base/vim/vimrc.nix @@ -56,6 +56,9 @@ set relativenumber set completeopt=longest,menuone + command Spaces set expandtab + command Tabs set noexpandtab + inoremap \ pumvisible() ? "\" : \ check_back_space() ? "\" : @@ -76,7 +79,7 @@ " Make auto-select the first completion item and notify coc.nvim to " format on enter, could be remapped by other vim plugin - inoremap pumvisible() ? coc#_select_confirm() + noremap pumvisible() ? coc#_select_confirm() \: "\u\\=coc#on_enter()\" " Use `[g` and `]g` to navigate diagnostics