From bc3fae6b88308dc3e478954a0fb3d0b14809c2e8 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 14 Oct 2024 00:44:29 +0100 Subject: New neovim config Uses lazy nvim and Lua instead of the old Vundle and vimscript setup. --- NeoVim/.config/nvim/init.vim | 108 ------------------------------------------- 1 file changed, 108 deletions(-) delete mode 100644 NeoVim/.config/nvim/init.vim (limited to 'NeoVim/.config/nvim/init.vim') diff --git a/NeoVim/.config/nvim/init.vim b/NeoVim/.config/nvim/init.vim deleted file mode 100644 index 6a28892..0000000 --- a/NeoVim/.config/nvim/init.vim +++ /dev/null @@ -1,108 +0,0 @@ -set runtimepath^=~/.vim runtimepath+=~/.vim/after -let &packpath = &runtimepath -filetype off - -"" Plugins -set rtp+=~/.vim/bundle/Vundle.vim -set termguicolors - -call vundle#begin() - "" Core -Plugin 'gmarik/Vundle.vim' -Plugin 'tpope/vim-dispatch' -Plugin 'christoomey/vim-tmux-navigator' - - "" UI -Plugin 'scrooloose/nerdtree' - - "" Plugins -Plugin 'junegunn/fzf', { 'do': { -> fzf#install() } } -Plugin 'junegunn/fzf.vim' -Plugin 'godlygeek/tabular' -Plugin 'tpope/vim-commentary' -Plugin 'tpope/vim-surround' -Plugin 'overcache/NeoSolarized' -Plugin 'altercation/vim-colors-solarized' -call vundle#end() - - -"" Standard variables -syntax enable -filetype plugin indent on -set nocompatible -set ignorecase -set smartcase -set clipboard=unnamed -set nobackup -set noundofile -set nowritebackup -set nohlsearch -set wildmenu -set tabstop=2 -set softtabstop=2 -set expandtab -set shiftwidth=2 -set previewheight=5 -set foldmethod=syntax -set foldlevel=99 -set path+=** -let mapleader = ' ' - - -"" Theming -set background=dark -colorscheme NeoSolarized -" Set backgrounds off => transparency! -highlight Normal guibg=none -highlight NonText guibg=none -highlight Normal ctermbg=none -highlight NonText ctermbg=none - -"" Dir Config -let g:NERDTreeHijackNetrw = 1 - - -"" Keybinds -imap jk - "" General keybind -nnoremap fp :e ~/.config/nvim/init.vim -nnoremap fei :e ~/.vim/ftplugin -nnoremap fr :so ~/.vimrc:PluginInstall:PluginClean -nnoremap qq :q! -nnoremap gs :G -nnoremap : -nnoremap l :set relativenumber! - - "" File Management -nnoremap ff :Files -nnoremap fs :w -nnoremap fq :wq -nnoremap fn :enew -nnoremap :set hlsearch! hlsearch? - - "" Buffer Management -nnoremap bn :bn -nnoremap bp :bp -nnoremap bb :Buffers -nnoremap bd :bd - - "" Search -nnoremap ss :Lines - - "" Window Splits -nnoremap wv v -nnoremap ws s -nnoremap wd q - - "" Window Movement -nnoremap wj -nnoremap wk -nnoremap wl -nnoremap wh - - "" Projects -nnoremap ot :NERDTreeToggle -nnoremap pg :!ctags-exuberant -R --exclude=Makefile . - - "" Tags -nnoremap tt :Tags -- cgit v1.2.3-13-gbd6f