Last active
March 12, 2023 19:40
-
-
Save luiarthur/51941c9bb2129d9c9f0deb89cf5271a5 to your computer and use it in GitHub Desktop.
Basic vimrc for native windows.
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 in ~/vimfiles/vimrc, on native Windows OS (not WSL). | |
" Basic setup to remove. | |
set number | |
set mouse=a | |
set autoindent | |
set showtabline=2 | |
set clipboard=unnamed | |
set t_Co=256 | |
call plug#begin() | |
Plug 'sheerun/vim-polyglot' | |
Plug 'luiarthur/red.vim' | |
Plug 'luiarthur/repl.vim' | |
call plug#end() | |
try | |
colorscheme noir | |
catch | |
colorscheme industry | |
endtry | |
" Tab / buffer navigation. | |
map <S-Right> :tabnext<CR> | |
map <S-Left> :tabprevious<CR> | |
map <S-Down> :bnext<CR> | |
map <S-Up> :bprevious<CR> | |
" Always open new files as tabs. | |
" NOTE: tabs can be closed with `:bd`. | |
augroup open-tabs | |
au! | |
au VimEnter * ++nested if !&diff | tab all | tabfirst | endif | |
augroup end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment