Skip to content

Instantly share code, notes, and snippets.

@nonrice
nonrice / vimrc
Last active May 23, 2026 02:04
vimrc
set nocompatible
filetype plugin indent on
if empty(glob('~/.vim/autoload/plug.vim'))
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin()
Plug 'bfrg/vim-c-cpp-modern'
set-window-option -g mode-keys vi
bind -r C-k resize-pane -U
bind -r C-j resize-pane -D
bind -r C-h resize-pane -L
bind -r C-l resize-pane -R
bind k select-pane -U
bind j select-pane -D
bind h select-pane -L
font_family MesloLGM Nerd Font
#font_family cozette
macos_traditional_fullscreen yes
font_size 13
window_padding_width 0
shell_integration no-cursor
macos_colorspace default