Skip to content

Instantly share code, notes, and snippets.

@stephenlb
Created October 8, 2025 20:43
Show Gist options
  • Select an option

  • Save stephenlb/3071b6973a5e1e6d5c28fcf33f951e4e to your computer and use it in GitHub Desktop.

Select an option

Save stephenlb/3071b6973a5e1e6d5c28fcf33f951e4e to your computer and use it in GitHub Desktop.
Stephen's Vim RC File
set nowrap
set nobackup
set undofile " Undo across sessions
set undolevels=800 " Keep 800 changes to be undone
set undodir=~/.vim/tmp/undo//
nmap <F2> :.w !pbcopy<CR><CR>
vmap <F2> :w !pbcopy<CR><CR>
set noswapfile
set t_Co=256
set background=dark
colorscheme gruvbox
syntax enable
set hlsearch
set number
set et
set sw=4
set smarttab
set autoindent
"set statusline=%l(%L):%c\ \ %F
imap <C-]> <Plug>(copilot-next)
"true color support
if (has("termguicolors"))
set termguicolors
endif
au BufRead,BufNewFile *.md set filetype=markdown
au BufRead,BufNewFile *.clj set filetype=clojure
au BufRead,BufNewFile *.vue set filetype=html
"set statusline+=%#warningmsg#
"set statusline+=%{SyntasticStatuslineFlag()}
"set statusline+=%*
"let g:copilot_settings = #{selectedCompletionModel: 'gpt-4.1-copilot'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment