this repo has no description
dotfiles
at main 97 lines 2.1 kB view raw
1let mapleader=' ' 2 3" let g:airline_theme='base16_eighties' 4let g:airline_theme='catppuccin' 5let g:airline_powerline_fonts=1 6let g:airline#extensions#tabline#enabled=1 7 8set nocompatible " be iMproved, required 9 10if empty(glob('~/.vim/autoload/plug.vim')) 11 silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs 12 \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim 13 autocmd VimEnter * PlugInstall --sync | source $MYVIMRC 14endif 15 16call plug#begin('~/.vim/plugged') 17Plug 'editorconfig/editorconfig-vim' 18Plug 'vim-airline/vim-airline' 19Plug 'vim-airline/vim-airline-themes' 20Plug 'airblade/vim-gitgutter' 21" Plug 'chriskempson/base16-vim' 22Plug 'catppuccin/nvim', { 'as': 'catppuccin' } 23Plug 'edkolev/tmuxline.vim' 24Plug 'rhysd/vim-crystal' 25call plug#end() 26 27set tabstop=4 28set shiftwidth=4 29set expandtab 30 31set laststatus=2 32set t_Co=256 33set noshowmode 34 35set nu rnu " Display line numbers 36 37augroup numbertoggle 38 autocmd! 39 autocmd BufEnter,FocusGained,InsertLeave * set relativenumber 40 autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber 41augroup END 42 43set autoread " Auto-reload files on external change 44 45set showcmd 46 47if hostname() != 'PC490' && hostname() != 'Sharparam-PC' 48 set cul 49endif 50 51" Always show ruler 52"set ruler 53 54set cmdheight=1 55 56" Better backspace 57set backspace=eol,start,indent 58set whichwrap+=<,>,h,l 59 60set hlsearch " Highlight search results 61set incsearch " Search behaves like browser 62 63set lazyredraw " Don't redraw during macros 64 65set showmatch 66 67set noerrorbells 68set novisualbell 69 70"""""""""""""""""""" 71" Colors and fonts " 72"""""""""""""""""""" 73 74set background=dark 75if hostname() != 'PC490' && hostname() != 'Sharparam-PC' 76 let base16colorspace=256 77endif 78" colorscheme base16-eighties 79colorscheme catppuccin 80 81set encoding=utf8 82 83if &term =~ '256color' 84 set t_ut= 85endif 86 87nmap <leader>- :source ~/.vimrc<CR>:redraw!<CR>:echo "~/.vimrc reloaded"<CR> 88 89noremap <Left> <Nop> 90noremap <Right> <Nop> 91noremap <Up> <Nop> 92noremap <Down> <Nop> 93 94inoremap <Left> <Nop> 95inoremap <Right> <Nop> 96inoremap <Up> <Nop> 97inoremap <Down> <Nop>