diff options
| author | Blista Kanjo | 2022-06-18 03:16:05 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2022-06-18 03:16:05 -0400 |
| commit | 47da2b90dd546010f913dc30eee5e6183d7ac0c6 (patch) | |
| tree | 1b995e170ea15d409f69ef42caf746f2ffadaef8 /.vimrc | |
| parent | e54f846c43ff1533e7026ad31acfe87a56df5ec2 (diff) | |
updated .vimrc
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 64 |
1 files changed, 54 insertions, 10 deletions
@@ -1,20 +1,64 @@ +" ▄▄ ▄▄ ▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ +" █ █ █ █ █ █▄█ █ ▄ █ █ █ +" █ █▄█ █ █ █ █ █ █ █ █ +" █ █ █ █ █▄▄█▄█ ▄▄█ +" ▄▄▄ █ █ █ █ ▄▄ █ █ +" █ █ █ ██ █ ██▄██ █ █ █ █ █▄▄ +" █▄▄▄█ █▄▄▄█ █▄▄▄█▄█ █▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ + +" Use System Clipboard ":set clipboard=unnamedplus -:filetype plugin on -:syntax on -:set number -:set relativenumber -:filetype indent on -:set mouse=a + +filetype plugin on +syntax on +set number +set relativenumber +set cursorline +:highlight Cursorline cterm=bold ctermbg=black +filetype indent on +set mouse=a +set hlsearch + +" enable smartcase search sensitivity " +set ignorecase +set smartcase + +" Indentation using spaces " +" tabstop: width of tab character +" softtabstop: fine tunes the amount of whitespace to be added +" shiftwidth: determines the amount of whitespace to add in normal mode +" expandtab: when on use space instead of tab +" textwidth: text wrap width +" autoindent: autoindent in new line +set tabstop =4 +set softtabstop =4 +set shiftwidth =4 +set textwidth =79 +set expandtab +set autoindent + +" show the matching part of pairs [] {} and () " +set showmatch + +" remove trailing whitespace from Python and Fortran files " +autocmd BufWritePre *.py :%s/\s\+$//e +autocmd BufWritePre *.f90 :%s/\s\+$//e +autocmd BufWritePre *.f95 :%s/\s\+$//e +autocmd BufWritePre *.for :%s/\s\+$//e if has('gui_running') + set t_Co=256 set guifont=JetBrains\ Mono\ 11 - :set guioptions-=m - :set guioptions-=T - :set guioptions-=r - :set guioptions-=L + set guioptions-=m + set guioptions-=T + set guioptions-=r + set guioptions-=L colorscheme slate endif +" enable true colors support " +"set termguicolors + if $TERM == 'alacritty' set ttymouse=sgr endif |
