mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
- Added Catppuccin theme - Added kitty terminal config # Sync and Rectify Vim & NVIM - Undo files are incompatible between VIM & NVIM - saved those files separately - Keybinding for saving and quitting moved to VIM config - VIM & NVIM swapfiles removed - More VIM options set to enhance usability - Synced system vim config and keybindings with ideavimrc # Shell Script File Changes - Reverted to using `#!/bin/sh` as bash is slow and not POSIX compliant. - Reformatted
36 lines
655 B
VimL
36 lines
655 B
VimL
let $VIMDIR="$HOME/.vim"
|
|
let $VIMRC="$VIMDIR/vimrc"
|
|
|
|
" Load plugins
|
|
source $VIMDIR/plugins.vim
|
|
|
|
" Load VIM Configurations
|
|
source $VIMDIR/configs.vim
|
|
|
|
" Load Keybindings
|
|
source $VIMDIR/key_maps.vim
|
|
|
|
" Save session files to $HOME/.vim/session directory
|
|
let g:session_dir="$VIMDIR/session"
|
|
|
|
""""""""""""""""""""""""""""""""
|
|
"
|
|
" THEME
|
|
"
|
|
""""""""""""""""""""""""""""""""
|
|
let g:lightline = { 'colorscheme': 'deepspace' }
|
|
colorscheme deep-space
|
|
|
|
""""""""""""""""""""""""""""""""
|
|
"
|
|
" VIM SPECIFIC CONFIG
|
|
"
|
|
""""""""""""""""""""""""""""""""
|
|
|
|
" Auto reload .vimrc
|
|
autocmd! bufwritepost $VIMRC source %
|
|
|
|
" Save inside vim config directory
|
|
set undodir=$VIMDIR/undo//
|
|
|