Last active
December 8, 2022 19:05
-
-
Save turnipsoup/ac59be282ff34e02aad18e5fde4fe7f0 to your computer and use it in GitHub Desktop.
My vim confiug
This file contains hidden or 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
" Basics | |
syntax enable | |
set expandtab | |
set splitbelow | |
set ruler | |
set scrolloff=3 " lines above/below cursor | |
set fileformats=unix,mac,dos | |
set cursorline | |
set autoread " automatically reloads file if changed outside | |
set splitbelow " split new window below current window | |
set splitright " split new window right of the current one | |
set number | |
" Initiate Plugins | |
call plug#begin() | |
" LSP Configuration | |
" Plug 'https://github.com/neovim/nvim-lspconfig.git' | |
" Super autocomplete | |
Plug 'https://github.com/Valloric/YouCompleteMe' | |
" Easy Align | |
Plug 'junegunn/vim-easy-align' | |
" Clipboard support | |
Plug 'christoomey/vim-system-copy' | |
" Golang | |
Plug 'https://github.com/fatih/vim-go.git' | |
let g:go_def_mode='gopls' | |
let g:go_info_mode='gopls' | |
let g:go_auto_type_info = 1 | |
let g:go_fmt_autosave = 1 | |
" Harelang | |
Plug 'https://git.sr.ht/~sircmpwn/hare.vim' | |
" Python | |
Plug 'davidhalter/jedi-vim' | |
Plug 'zchee/deoplete-jedi' | |
" Fancy bottom bar | |
Plug 'vim-airline/vim-airline' | |
" Nerdtree fileviewer | |
Plug 'https://github.com/preservim/nerdtree.git' | |
" Auto-close braces and scopes | |
Plug 'jiangmiao/auto-pairs' | |
" Better syntax-highlighting for filetypes in vim | |
Plug 'sheerun/vim-polyglot' | |
" Fuzzy Finding | |
Plug 'junegunn/fzf.vim' | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
" Load all defined plugins | |
call plug#end() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment