Updated airline and addedvim-fish
This commit is contained in:
parent
ec1c8b1dcd
commit
99f8422e08
4 changed files with 16 additions and 12 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +1,6 @@
|
|||
[submodule "pack/plugins/start/vim-airline"]
|
||||
path = pack/plugins/start/vim-airline
|
||||
url = https://github.com/vim-airline/vim-airline.git
|
||||
[submodule "pack/plugins/start/vim-fish"]
|
||||
path = pack/plugins/start/vim-fish
|
||||
url = https://github.com/dag/vim-fish.git
|
||||
|
|
22
init.vim
22
init.vim
|
@ -1,14 +1,3 @@
|
|||
" An example for a vimrc file.
|
||||
"
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last change: 2017 Sep 20
|
||||
"
|
||||
" To use it, copy it to
|
||||
" for Unix and OS/2: ~/.vimrc
|
||||
" for Amiga: s:.vimrc
|
||||
" for MS-DOS and Win32: $VIM\_vimrc
|
||||
" for OpenVMS: sys$login:.vimrc
|
||||
|
||||
" set relative line numbers
|
||||
set number relativenumber
|
||||
" set highlighting and continous search
|
||||
|
@ -17,6 +6,17 @@ set hlsearch incsearch
|
|||
nnoremap <F2> noh
|
||||
" show n-column limiter when textwidth is set
|
||||
set colorcolumn=+1
|
||||
" prevent terminal buffers to be closed when changing buffer
|
||||
autocmd TermOpen * set bufhidden=hide
|
||||
" make escape work in terminal and send ESC to terminal with C-Esc
|
||||
tnoremap <Esc> <C-\><C-n>
|
||||
tnoremap <C-Esc> <Esc>
|
||||
|
||||
" VIM-FISH
|
||||
syntax enable
|
||||
filetype plugin indent on
|
||||
" Set up :make to use fish for syntax checking.
|
||||
autocmd FileType fish compiler fish
|
||||
|
||||
if has("vms")
|
||||
set nobackup " do not keep a backup file, use versions instead
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit e3cfd3643b0f4c9650d5eb23912fef12d88e7a60
|
||||
Subproject commit 56197d510468f405c630a4a48b1bb207f83d14ac
|
1
pack/plugins/start/vim-fish
Submodule
1
pack/plugins/start/vim-fish
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 50b95cbbcd09c046121367d49039710e9dc9c15f
|
Reference in a new issue