Created
July 17, 2025 02:03
-
-
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)
This file contains hidden or 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
| " 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