Code Snippets Vim script

Short texts Vim script 🧑‍💻 Code snippets Vim script ✍️ Reading lists Vim script 👀


set autoindent set ruler set expandtab set smartindent set showmatch set colorcolumn=60 highlight ColorColumn ctermbg=lightgray set shiftwidth=4 set tabstop=4

dust-init.vim (neovim rc)

” color schemes if (has(“termguicolors”)) set termguicolors endif syntax enable ” colorscheme evening colorscheme tender let g:airline_theme=’tender’ set smartindent set tabstop=2 set shiftwidth=2 call plug#begin() Plug ‘tpope/vim-sensible’ Plug ‘jacoborus/tender.vim’ ” Plug ‘ryanoasis/vim-devicons’ Plug ‘SirVer/ultisnips’ Plug ‘honza/vim-snippets’ Plug ‘scrooloose/nerdtree’ Plug ‘preservim/nerdcommenter’ Plug ‘mhinz/vim-startify’ ” ddc Plug ‘Shougo/ddc.vim’ Plug ‘vim-denops/denops.vim’ Plug ‘Shougo/ddc-around’ Plug ‘Shougo/ddc-matcher_head’ Plug ‘Shougo/ddc-sorter_rank’ […]


set nocompatible ” disable compatibility to old-time vi set showmatch ” show matching brackets. “set ignorecase ” case insensitive matching set mouse=v ” middle-click paste with mouse set hlsearch ” highlight search results set tabstop=4 ” number of columns occupied by a tab character set softtabstop=4 ” see multiple spaces as tabstops so does the […]

A basic .vimrc file that will serve as a good template on which to build.

” Don’t try to be vi compatible set nocompatible ” Helps force plugins to load correctly when it is turned back on below filetype off ” TODO: Load plugins here (pathogen or vundle) ” Turn on syntax highlighting syntax on ” For plugins to load correctly filetype plugin indent on ” TODO: Pick a leader […]