changed vimrc

This commit is contained in:
Jacob 2017-11-30 14:32:14 +01:00
parent 0b9ec0e473
commit 080e433cbd

11
vimrc
View File

@ -39,7 +39,7 @@ set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time set ruler " show the cursor position all the time
set showcmd " display incomplete commands set showcmd " display incomplete commands
set incsearch " do incremental searching set incsearch " do incremental searching
set nu set relativenumber
" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries " For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
" let &guioptions = substitute(&guioptions, "t", "", "g") " let &guioptions = substitute(&guioptions, "t", "", "g")
@ -134,6 +134,9 @@ noremap æ 0
noremap Æ ( noremap Æ (
noremap Ø ) noremap Ø )
noremap _ / noremap _ /
map å :
imap å <C-n>
set ignorecase set ignorecase
set smartcase set smartcase
@ -142,6 +145,7 @@ call plug#begin('~/.vim/plugged')
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'dracula/vim', { 'as': 'dracula' } Plug 'dracula/vim', { 'as': 'dracula' }
Plug 'fatih/vim-go' Plug 'fatih/vim-go'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
call plug#end() call plug#end()
@ -161,3 +165,8 @@ if executable ('fzf')
" }}} " }}}
endif endif
map <C-m> :NERDTreeToggle<CR>