Created
July 21, 2022 19:41
-
-
Save ProjectInitiative/db97beb98aea111adc48d26892310bca to your computer and use it in GitHub Desktop.
my personal nvim configuration as it matures and grows
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
syntax enable | |
filetype plugin indent on | |
call plug#begin(stdpath("data") . '/plugged') | |
" The default plugin directory will be as follows: | |
" - Vim (Linux/macOS): '~/.vim/plugged' | |
" - Vim (Windows): '~/vimfiles/plugged' | |
" - Neovim (Linux/macOS/Windows): stdpath('data') . '/plugged' | |
" You can specify a custom plugin directory by passing it as the argument | |
" - e.g. `call plug#begin('~/.vim/plugged')` | |
" - Avoid using standard Vim directory names like 'plugin' | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'junegunn/fzf.vim' | |
Plug 'akinsho/toggleterm.nvim', {'tag' : 'v2.*'} | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
Plug 'rust-lang/rust.vim' | |
" Initialize plugin system | |
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
call plug#end() | |
" Spaces & Tabs {{{ | |
set tabstop=4 " number of visual spaces per TAB | |
set softtabstop=4 " number of spaces in tab when editing | |
set shiftwidth=4 " number of spaces to use for autoindent | |
set expandtab " tabs are space | |
set autoindent | |
set copyindent " copy indent from the previous line | |
" }}} Spaces & Tabs | |
set number | |
" Remappings | |
:tnoremap <Esc> <C-\><C-n> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment