mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
add init.sage, update .vimrc for vimwiki (instead of in nvim)
This commit is contained in:
34
.vimrc
34
.vimrc
@@ -2,13 +2,47 @@ source ~/vimconfigbase.vim
|
|||||||
|
|
||||||
call plug#begin(expand('~/.vim/plugged'))
|
call plug#begin(expand('~/.vim/plugged'))
|
||||||
|
|
||||||
|
nnoremap <Space> <nop>
|
||||||
|
let mapleader = "\<Space>"
|
||||||
|
let g:mapleader = "\<Space>"
|
||||||
|
let maplocalleader = "\<Space>"
|
||||||
|
|
||||||
Plug 'liuchengxu/space-vim-dark'
|
Plug 'liuchengxu/space-vim-dark'
|
||||||
|
Plug 'morhetz/gruvbox'
|
||||||
|
Plug 'rakr/vim-one'
|
||||||
|
|
||||||
|
" Plug 'godlygeek/tabular'
|
||||||
|
" Plug 'preservim/vim-markdown'
|
||||||
|
|
||||||
|
" focus mode
|
||||||
|
Plug 'junegunn/goyo.vim'
|
||||||
|
|
||||||
|
" vimwiki
|
||||||
|
Plug 'vimwiki/vimwiki'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
|
||||||
|
" copy&paste from system clipboard
|
||||||
|
vnoremap <leader>y "+y
|
||||||
|
vnoremap <leader>p "+p
|
||||||
|
|
||||||
|
" next 3 lines are needed for vimwiki
|
||||||
|
set nocompatible
|
||||||
|
filetype plugin on
|
||||||
|
syntax on
|
||||||
|
" vimwiki with markdown
|
||||||
|
let g:vimwiki_list = [{'path': '~/vimwiki/',
|
||||||
|
\ 'syntax': 'markdown', 'ext': '.md'}]
|
||||||
|
" prevent vimwiki of setting conceallevel=2:
|
||||||
|
let g:vimwiki_conceallevel=2
|
||||||
|
|
||||||
|
" to allow backspacing over everything in insert mode
|
||||||
|
set backspace=indent,eol,start
|
||||||
|
|
||||||
set termguicolors
|
set termguicolors
|
||||||
|
|
||||||
colorscheme space-vim-dark
|
colorscheme space-vim-dark
|
||||||
|
"colorscheme gruvbox
|
||||||
set background=dark
|
set background=dark
|
||||||
highlight normal ctermbg=0 guibg=#000000
|
highlight normal ctermbg=0 guibg=#000000
|
||||||
|
|||||||
1
.zshrc
1
.zshrc
@@ -65,5 +65,6 @@ alias golint="~/go/bin/golint"
|
|||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
export LC_ALL="en_US.UTF-8"
|
||||||
|
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
|
|||||||
Reference in New Issue
Block a user