From 1abccc25117faae58395abb54964a78023675256 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Tue, 7 Jan 2025 19:43:04 +0400 Subject: nvim: init.lua added --- config/nvim/init.vim | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 config/nvim/init.vim (limited to 'config/nvim/init.vim') diff --git a/config/nvim/init.vim b/config/nvim/init.vim deleted file mode 100644 index 7c66eef..0000000 --- a/config/nvim/init.vim +++ /dev/null @@ -1,36 +0,0 @@ -" Suleyman's minimal vim config for servers -" at https://git.farajli.net/slcf - -let mapleader = " " -set number -set scrolloff=5 " Smooth scroll -set clipboard=unnamedplus " Use system clipboard -set shortmess+=I " Deactivate intro text -set fillchars=eob:\ " Remove "~" for empty lines (`eob:\` must end with a trailing space) -:set nowrap " Disable wrapping -autocmd BufwritePost * %s/\s\+$//e " Remove useless trailing spaces when saving -autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o " Disable autocomments - -" Different cursor shapes for insert and normal modes -let &t_SI = "\e[6 q" -let &t_EI = "\e[2 q" -set ttimeout -set ttimeoutlen=1 -set ttyfast - -" Normal mode maps -map :w! -map q :wqa! -map :tabnew -map :tabclose! -map J :tabn -map K :tabp - -" Insert mode maps -inoremap -inoremap -inoremap gj -inoremap gk -inoremap o - -set background=dark -- cgit v1.2.3