Skip to content

Instantly share code, notes, and snippets.

@kj-sh604
Created July 17, 2025 02:03
Show Gist options
  • Save kj-sh604/59e0749395a284c2469818c715d4f243 to your computer and use it in GitHub Desktop.
Save kj-sh604/59e0749395a284c2469818c715d4f243 to your computer and use it in GitHub Desktop.
.vimrc that I use with VSCode's Vim Emulation Extensions when I have to use a Windows PC (Neovim on Windows is quirky)
" Some of these options might not even work on VSCode ngl
" keybinds work, for sure tho
filetype plugin on
syntax on
set number
set relativenumber
set cursorline
filetype indent on
set mouse=a
set hlsearch
set autochdir
set ignorecase
set smartcase
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
set autoindent
set showmatch
set termguicolors
set ttimeout
set ttimeoutlen=1
set listchars=tab:>-,trail:~,extends:>,precedes:<,space:.
set ttyfast
nnoremap <C-d> <C-d>zz
nnoremap <C-u> <C-u>zz
nnoremap n nzzzv
nnoremap N Nzzzv
vnoremap <C-c> "+y
vmap <C-x> "+x
map <C-p> "+p
map <Leader>p "+P
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment