+ Add vim_idea
This commit is contained in:
parent
e7abdae8ae
commit
3197fb684c
5 changed files with 8 additions and 3 deletions
0
.config/vim/vim_idea
Normal file
0
.config/vim/vim_idea
Normal file
|
@ -100,7 +100,7 @@ Plug 'dense-analysis/ale'
|
||||||
" --- For rust
|
" --- For rust
|
||||||
Plug 'rust-lang/rust.vim'
|
Plug 'rust-lang/rust.vim'
|
||||||
|
|
||||||
Plug 'wakatime/vim-wakatime'
|
" Plug 'wakatime/vim-wakatime'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ syntax on
|
||||||
filetype indent plugin on
|
filetype indent plugin on
|
||||||
map <C-n> :NERDTreeToggle<CR>
|
map <C-n> :NERDTreeToggle<CR>
|
||||||
let mapleader=" "
|
let mapleader=" "
|
||||||
|
set guifont=Iosevka:h15
|
||||||
|
|
||||||
" ----- Folding stuff
|
" ----- Folding stuff
|
||||||
set foldnestmax=10
|
set foldnestmax=10
|
||||||
|
@ -72,6 +73,9 @@ function! TwiddleCase(str)
|
||||||
endfunction
|
endfunction
|
||||||
vnoremap ~ y:call setreg('', TwiddleCase(@"), getregtype(''))<CR>gv""Pgv
|
vnoremap ~ y:call setreg('', TwiddleCase(@"), getregtype(''))<CR>gv""Pgv
|
||||||
|
|
||||||
|
" Format with by pressing Q useful for markdown / other markup languages
|
||||||
|
map Q gq
|
||||||
|
|
||||||
" ----- 'vim -b' = edit binary using xxd-format!
|
" ----- 'vim -b' = edit binary using xxd-format!
|
||||||
augroup Binary
|
augroup Binary
|
||||||
au!
|
au!
|
||||||
|
@ -93,6 +97,7 @@ autocmd Filetype html set ai sw=4 ts=4 sta et fo=croql
|
||||||
autocmd Filetype css set ai sw=4 ts=4 sta et fo=croql
|
autocmd Filetype css set ai sw=4 ts=4 sta et fo=croql
|
||||||
autocmd Filetype javascript set ai sw=4 ts=4 sta et fo=croql
|
autocmd Filetype javascript set ai sw=4 ts=4 sta et fo=croql
|
||||||
autocmd Filetype vue set ai sw=4 ts=4 sta et fo=croql
|
autocmd Filetype vue set ai sw=4 ts=4 sta et fo=croql
|
||||||
|
autocmd Filetype php set ai sw=4 ts=4 sta et fo=croql
|
||||||
|
|
||||||
" ----- Auto refresh vimrc
|
" ----- Auto refresh vimrc
|
||||||
augroup myvimrc
|
augroup myvimrc
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
|
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk"
|
||||||
export ANDROID_SDK_ROOT="/opt/android-sdk"
|
export ANDROID_SDK_ROOT="/opt/android-sdk"
|
||||||
|
|
||||||
# -- Path
|
# -- Path
|
||||||
# PATH="$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')${PATH:+:${PATH}}"
|
# PATH="$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')${PATH:+:${PATH}}"
|
||||||
PATH="$ANDROID_HOME/cmdline-tools/latest/bin:$HOME/.local/share/npm/bin:$HOME/.local/share/cargo/bin:$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')${PATH:+:${PATH}}"
|
PATH="$HOME/.local/share/go/bin:$ANDROID_HOME/cmdline-tools/latest/bin:$HOME/.local/share/npm/bin:$HOME/.local/share/cargo/bin:$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')${PATH:+:${PATH}}"
|
||||||
export RUST_SRC_PATH=$(rustc --print sysroot)/lib/rustlib/src/rust/library
|
export RUST_SRC_PATH=$(rustc --print sysroot)/lib/rustlib/src/rust/library
|
||||||
|
|
||||||
# -- IBus stuff (IME)
|
# -- IBus stuff (IME)
|
||||||
|
|
|
@ -49,4 +49,3 @@ source $ZSH_PLUGINS/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
|
||||||
source $ZSH_PLUGINS/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh 2>/dev/null
|
source $ZSH_PLUGINS/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh 2>/dev/null
|
||||||
#source $ZSH_CUSTOM/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
#source $ZSH_CUSTOM/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
||||||
#source $ZSH_CUSTOM/plugins/fsh/fast-syntax-highlighting.plugin.zsh
|
#source $ZSH_CUSTOM/plugins/fsh/fast-syntax-highlighting.plugin.zsh
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue