update
This commit is contained in:
37
vim/init.vim
Normal file
37
vim/init.vim
Normal file
@@ -0,0 +1,37 @@
|
||||
set nocompatible
|
||||
filetype on
|
||||
filetype plugin on
|
||||
syntax on
|
||||
set number
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set showmatch
|
||||
set hlsearch
|
||||
set cursorline
|
||||
colorscheme desert
|
||||
set splitright
|
||||
set splitbelow
|
||||
set completeopt=menuone,preview
|
||||
set clipboard+=unnamedplus
|
||||
set expandtab
|
||||
set conceallevel=2
|
||||
set termguicolors
|
||||
let g:mapleader=","
|
||||
let g:tex_flavor="latex"
|
||||
|
||||
function OpenTerm()
|
||||
10 split
|
||||
terminal
|
||||
endfunction
|
||||
nnoremap <C-t> :call OpenTerm()<CR>
|
||||
|
||||
autocmd VimEnter * set spell spelllang=en_us
|
||||
function Litde()
|
||||
set spell spelllang=de_de
|
||||
endfunction
|
||||
function Liten()
|
||||
set spell spelllang=en_us
|
||||
endfunction
|
||||
nnoremap <M-e> :call Liten()<CR>
|
||||
nnoremap <M-g> :call Litde()<CR>
|
||||
|
||||
Reference in New Issue
Block a user