Skip to content

Instantly share code, notes, and snippets.

@radiaku
Last active May 8, 2024 08:21
Show Gist options
  • Save radiaku/dfdf5b6aae81eaae40ab5ee242e0a75d to your computer and use it in GitHub Desktop.
Save radiaku/dfdf5b6aae81eaae40ab5ee242e0a75d to your computer and use it in GitHub Desktop.
_vimrc on windows 11
set nocompatible "be iMproved, required
set exrc
set encoding=UTF-8
set rtp+=$HOME/.vim/bundle/Vundle.vim
call vundle#begin('$HOME/.vim/bundle/')
" ========All the plugins goes here===========
Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-scripts/L9'
Plugin 'dense-analysis/ale'
Plugin 'preservim/nerdtree'
Plugin 'tpope/vim-fugitive'
Plugin 'rstacruz/sparkup', {'rtp':'vim'}
Plugin 'catppuccin/vim', { 'as': 'catppuccin' }
" ========Plugins Ends here============
call vundle#end()
set clipboard+=unnamed " use the clipboards of vim and win
set paste " Paste from a windows or from vim
set go+=a " Visual selection automatically copied to the clipboard
set undodir=~/.vim/.undo//
set backupdir=~/.vim/.backup//
set directory=~/.vim/.swp//
set fillchars+=vert:\|
syntax on
set background=dark
set ruler
set relativenumber " to set up relative numbers
set hidden
set number
set laststatus=2
set smartindent
set st=4 sw=4 et
set shiftwidth=4
set backspace=indent,eol,start
set tabstop=4
" fixes glitch? in colors when using vim with tmux
set background=dark
set t_Co=256
set termguicolors
let g:lightline = {'colorscheme': 'catppuccin_mocha'}
let g:airline_theme = 'catppuccin_mocha'
:colorscheme catppuccin_macchiato
" Set encoding
set encoding=utf8
" airline font
let g:airline_powerline_fonts = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment