Last active
April 26, 2024 18:38
-
-
Save muktadirmaashif/7056adde3dcc3d29b24c353c49dad3e7 to your computer and use it in GitHub Desktop.
My vimrc with all the configs and shortcuts
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
" PLACE IT IN /home/$USER/. | |
set nocompatible | |
if has('filetype') | |
filetype indent plugin on | |
endif | |
if has('syntax') | |
syntax on | |
endif | |
let mapleader = "\<space>" | |
nnoremap <C-L> :nohl<CR><C-L> | |
inoremap jk <esc> | |
vnoremap jk <esc> | |
nnoremap <Leader>w :w<cr> | |
nnoremap <Leader>q :q<cr> | |
nnoremap <Leader>wq :wq<cr> | |
"------------------------------------------------------------ | |
set hidden | |
set wildmenu | |
set showcmd | |
set hlsearch | |
set ignorecase | |
set smartcase | |
set backspace=indent,eol,start | |
set autoindent | |
set nostartofline | |
set ruler | |
set laststatus=2 | |
set confirm | |
set visualbell | |
set t_vb= | |
if has('mouse') | |
set mouse=a | |
endif | |
set cmdheight=2 | |
set number | |
set notimeout ttimeout ttimeoutlen=200 | |
set pastetoggle=<F11> | |
set shiftwidth=2 | |
set softtabstop=2 | |
set expandtab | |
colorscheme elflord | |
map Y y$ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment