Browse Source

add init.sage, update .vimrc for vimwiki (instead of in nvim)

master
arnaucube 1 year ago
parent
commit
77d8de78f5
3 changed files with 38 additions and 0 deletions
  1. +34
    -0
      .vimrc
  2. +1
    -0
      .zshrc
  3. +3
    -0
      init.sage

+ 34
- 0
.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
- 0
.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

+ 3
- 0
init.sage

@ -0,0 +1,3 @@
# ~/.sage/init.sage
%colors Linux

Loading…
Cancel
Save