From c5d4e4a23a397ae1dc68682734f2fe26d3adf0f0 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Sat, 11 Feb 2023 12:51:08 +0000 Subject: Switched to lua and install various plugins --- .config/nvim/general/commands.vim | 0 .config/nvim/general/functions.vim | 12 ------------ .config/nvim/general/settings.vim | 13 ------------- 3 files changed, 25 deletions(-) delete mode 100644 .config/nvim/general/commands.vim delete mode 100644 .config/nvim/general/functions.vim delete mode 100644 .config/nvim/general/settings.vim (limited to '.config/nvim/general') diff --git a/.config/nvim/general/commands.vim b/.config/nvim/general/commands.vim deleted file mode 100644 index e69de29..0000000 diff --git a/.config/nvim/general/functions.vim b/.config/nvim/general/functions.vim deleted file mode 100644 index 07a67c4..0000000 --- a/.config/nvim/general/functions.vim +++ /dev/null @@ -1,12 +0,0 @@ -function! StripTrailingWhitespaces() - " Preparation: save last search, and cursor position. - let _s=@/ - let l = line(".") - let c = col(".") - " Do the business: - %s/\s\+$//e - " Clean up: restore previous search history, and cursor position - let @/=_s - call cursor(l, c) -endfunction -nnoremap :call StripTrailingWhitespaces() diff --git a/.config/nvim/general/settings.vim b/.config/nvim/general/settings.vim deleted file mode 100644 index a108e72..0000000 --- a/.config/nvim/general/settings.vim +++ /dev/null @@ -1,13 +0,0 @@ -syntax on " Syntax highlighting on. -filetype on -filetype plugin on -filetype indent on " Load filetype-specific indent files. -highlight NonText guifg=#4a4a59 " Invisible character colors -highlight SpecialKey guifg=#4a4a59 - - -set nobackup -set noswapfile -set number " Turn on line numbers. -set linebreak -set listchars=tab:▸\ ,eol:¬ " Use the same symbols as TextMate for tabstops and EOLs -- cgit v1.2.3-13-gbd6f