aboutsummaryrefslogtreecommitdiff
path: root/NeoVim/.config/nvim/init.vim
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-10-14 00:44:29 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-10-14 00:44:29 +0100
commitbc3fae6b88308dc3e478954a0fb3d0b14809c2e8 (patch)
tree721374b530fae630fe5234f1f63e2dbe388763a8 /NeoVim/.config/nvim/init.vim
parente36e3bd66c5cb9b9d3a604017c75e356e2678abd (diff)
downloaddotfiles-bc3fae6b88308dc3e478954a0fb3d0b14809c2e8.tar.gz
dotfiles-bc3fae6b88308dc3e478954a0fb3d0b14809c2e8.tar.bz2
dotfiles-bc3fae6b88308dc3e478954a0fb3d0b14809c2e8.zip
New neovim config
Uses lazy nvim and Lua instead of the old Vundle and vimscript setup.
Diffstat (limited to 'NeoVim/.config/nvim/init.vim')
-rw-r--r--NeoVim/.config/nvim/init.vim108
1 files changed, 0 insertions, 108 deletions
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 <Esc>
- "" General keybind
-nnoremap <leader>fp :e ~/.config/nvim/init.vim<CR>
-nnoremap <leader>fei :e ~/.vim/ftplugin<CR>
-nnoremap <leader>fr :so ~/.vimrc<CR>:PluginInstall<CR>:PluginClean<CR>
-nnoremap <leader>qq :q!<CR>
-nnoremap <leader>gs :G<CR>
-nnoremap <leader><leader> :
-nnoremap <leader>l :set relativenumber!<CR>
-
- "" File Management
-nnoremap <leader>ff :Files <CR>
-nnoremap <leader>fs :w<CR>
-nnoremap <leader>fq :wq<CR>
-nnoremap <leader>fn :enew<CR>
-nnoremap <F8> :set hlsearch! hlsearch?<CR>
-
- "" Buffer Management
-nnoremap <leader>bn :bn <CR>
-nnoremap <leader>bp :bp <CR>
-nnoremap <leader>bb :Buffers <CR>
-nnoremap <leader>bd :bd <CR>
-
- "" Search
-nnoremap <leader>ss :Lines<CR>
-
- "" Window Splits
-nnoremap <leader>wv <C-W>v
-nnoremap <leader>ws <C-W>s
-nnoremap <leader>wd <C-W>q
-
- "" Window Movement
-nnoremap <leader>wj <C-W><C-J>
-nnoremap <leader>wk <C-W><C-K>
-nnoremap <leader>wl <C-W><C-L>
-nnoremap <leader>wh <C-W><C-H>
-
- "" Projects
-nnoremap <leader>ot :NERDTreeToggle<CR>
-nnoremap <leader>pg :!ctags-exuberant -R --exclude=Makefile .
-
- "" Tags
-nnoremap <leader>tt :Tags<CR>