Last active
October 31, 2022 14:25
-
-
Save dbafromthecold/c614b4fe5a2208a203dea843090a220a to your computer and use it in GitHub Desktop.
My vimrc file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"vim generic settings | |
set number | |
set nocompatible | |
set backspace=indent,eol,start | |
set nowrap | |
set nobackup | |
set noswapfile | |
set noundofile | |
"open terminal and NERDTree on start up | |
autocmd vimenter * below terminal | |
autocmd vimenter * NERDTree | |
"remove text from NERDTree UI | |
let NERDTreeMinimalUI=1 | |
"syntax highlighting on | |
syntax on | |
"highlight line cursor is on | |
set cursorline | |
highlight CursorLine cterm=NONE ctermbg=0 | |
"set default shell | |
set shell=pwsh\ -nologo | |
"shortcut to execute commands in terminal | |
noremap <C-;> Y<C-W>j<C-W>"0<C-W>k | |
"shortcut for switching between code and terminal | |
noremap <C-/> <C-w>j | |
tnoremap <C-/> <C-w>k | |
"set aliases | |
cabbrev bterm below term | |
cabbrev ntree NERDTree |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment