Last active
June 25, 2024 19:13
-
-
Save jfabry-noc/1530acfb2aa70a7e8d7be839a0b44876 to your computer and use it in GitHub Desktop.
My .vimrc
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
call plug#begin() | |
Plug 'catppuccin/vim', { 'as': 'catppuccin' } | |
Plug 'https://github.com/vim-airline/vim-airline' | |
Plug 'https://github.com/tpope/vim-fugitive' | |
Plug 'https://github.com/wakatime/vim-wakatime' | |
Plug 'https://github.com/preservim/nerdtree' | |
Plug 'https://github.com/sheerun/vim-polyglot' | |
Plug 'https://github.com/rodjek/vim-puppet' | |
Plug 'https://github.com/ryanoasis/vim-devicons' | |
Plug 'https://github.com/airblade/vim-gitgutter' | |
call plug#end() | |
set hlsearch ignorecase smartcase incsearch number relativenumber | |
set tabstop=4 shiftwidth=4 expandtab notitle ruler laststatus=2 | |
set autoindent smartindent re=0 scrolloff=8 nocompatible colorcolumn=80 | |
if has('termguicolors') | |
set termguicolors | |
endif | |
syntax on | |
colorscheme catppuccin_macchiato | |
filetype plugin indent on | |
map gn :bnext<cr> | |
map gp :bpreviou<cr> | |
map gd :bdelete<cr> | |
let g:airline#extensions#tabline#enabled = 1 " Enable the list of buffers | |
let g:airline#extensions#tabline#formatter = 'unique_tail_improved' | |
let g:airline#extensions#tabline#left_sep = ' ' | |
let g:airline#extensions#tabline#left_alt_sep = '|' | |
let g:airline_theme = 'catppuccin_macchiato' | |
let NERDTreeQuitOnOpen=1 | |
let g:NERDTreeDirArrowExpandable="+" | |
let g:NERDTreeDirArrowCollapsible="~" | |
nnoremap <C-t> :NERDTreeToggle<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment