Skip to content

ffirg/vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

vim

vi/vim editor goodies

Want a sensible vi/vim config setup for creating Ansible playbooks etc?

cat ~/.vimrc

" cracking guide at https://dougblack.io/words/a-good-vimrc.html
set tabstop=2                               " a tab = 2 spaces
set softtabstop=2                           " no. spaces on backspace
set expandtab                               " turn tabs into spaces
set autoindent                              " autoindent!
set wildmenu                                " autocomplete for filenames
set showmatch                               " parenthesis matching
syntax on                                   " syntax!
colorscheme default                         " add a little colour to our live
set incsearch                               " search as chars entered
set hlsearch                                " highlight matches
let mapleader=","                           " leader is a comma
nnoremap <leader><space> :nohlsearch<CR>    " leader,space disables search highlighting

About

vi/vim editor goodies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors