Skip to content

Instantly share code, notes, and snippets.

@luiarthur
Last active March 12, 2023 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luiarthur/51941c9bb2129d9c9f0deb89cf5271a5 to your computer and use it in GitHub Desktop.
Save luiarthur/51941c9bb2129d9c9f0deb89cf5271a5 to your computer and use it in GitHub Desktop.
Basic vimrc for native windows.
" 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