-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With Neovim as the main editor this is intended to be as barebones as possible; e.g, for use on remote server.
- Loading branch information
Showing
1 changed file
with
17 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,27 @@ | ||
"****************************************************************************** | ||
" Settings: | ||
set nocompatible " Use Vim defaults (much better!) | ||
set bs=indent,eol,start " Allow backspacing over everything in insert mode | ||
set ai " Always set autoindenting on | ||
set viminfo='20,\"50 " Read/write a .viminfo file, don't store more | ||
" Than 50 lines of registers | ||
set history=50 " Keep 50 lines of command line history | ||
set ruler " Show the cursor position all the time | ||
set number " Show line numbers | ||
set updatetime=950 " Time to update .swp file. Used by LLP plugin | ||
set colorcolumn=81 " Sets coloured bar at 81 characters as a guide | ||
set tw=80 " Text wrapping at 80 characters | ||
set termguicolors " Set terminal colours | ||
set wildmenu " Command completion menu | ||
set incsearch " Start searching before hitting enter | ||
set scrolloff=1 " Keep the lines above and below the cursor | ||
set ignorecase " Ignore case when searching | ||
set smartcase " Don't ignore case if search contains capitals | ||
set showcmd " Show keystrokes | ||
set nocompatible " Use Vim defaults (much better!) | ||
set bs=indent,eol,start " Allow backspacing over everything in insert mode | ||
set ai " Always set autoindenting on | ||
set viminfo='20,\"50 " Read/write a .viminfo file, don't store more | ||
" Than 50 lines of registers | ||
set history=50 " Keep 50 lines of command line history | ||
set ruler " Show the cursor position all the time | ||
set number " Show line numbers | ||
set colorcolumn=81 " Sets coloured bar at 81 characters as a guide | ||
set tw=80 " Text wrapping at 80 characters | ||
set wildmenu " Command completion menu | ||
set incsearch " Start searching before hitting enter | ||
set scrolloff=1 " Keep the lines above and below the cursor | ||
set ignorecase " Ignore case when searching | ||
set smartcase " Don't ignore case if search contains capitals | ||
set showcmd " Show keystrokes | ||
|
||
filetype plugin on | ||
|
||
|
||
"****************************************************************************** | ||
" Mappings: | ||
let mapleader = " " | ||
|
||
nnoremap <silent> <F9> :setlocal spell! spelllang=en_gb <CR> | ||
nnoremap <silent> <Leader>s :setlocal spell! spelllang=en_gb <CR> | ||
nnoremap <silent> <Esc><Esc> :noh<CR>:let @/="ldsfl2393rj0mash02enp3irnddsfc"<CR> | ||
nnoremap <silent> <C-n> :NERDTree <CR> | ||
nnoremap <silent> daa ggdG | ||
nnoremap <silent> zt zt2<C-Y> | ||
nnoremap <silent> zb zb2<C-E> | ||
nnoremap <silent> ciq ci" | ||
nnoremap <silent> <Leader>ff zfaB |