+ Improved VIMRC

This commit is contained in:
ziro 2020-07-22 14:31:24 +07:00
parent ef10f5098f
commit 6aca719c57
5 changed files with 14 additions and 6 deletions

View file

@ -42,7 +42,7 @@ URxvt.underlineURLs: true
URxvt.urlButton: 1 URxvt.urlButton: 1
st*font: Iosevka Nerd Font:size=10:antialias=true:autohint=true st*font: Iosevka Nerd Font:size=10:antialias=true:autohint=true
st*font2: UbuntuMono Nerd Font:size=10:antialias=true:autohint=true st*font2: Twemoji:size=8:antialias=true:autohint=true
st*depth: 32 st*depth: 32
st*bold_font: 0 st*bold_font: 0
st*background: #1d1f21 st*background: #1d1f21

6
.config/vim/README.md Normal file
View file

@ -0,0 +1,6 @@
# null2264's VIM Configuration
## About
vimrc separated to multiple files to make it easier to maintain it on multiple OSes.
Right now this config only confirmed to be working on Linux.

View file

@ -38,3 +38,7 @@ if empty(glob('~/.config/vim/autoload/plug.vim'))
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif endif
" - Lf Shortcut
" let g:lf_map_keys = 0
" map <C-n> :Lf<CR>

View file

@ -73,10 +73,6 @@ inoremap <expr><tab> pumvisible() ? "\<c-n>" : "\<tab>"
" \ coc#refresh() " \ coc#refresh()
" inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>" " inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
" - Lf
" let g:lf_map_keys = 0
" map <C-n> :Lf<CR>
" - YouCompleteMe " - YouCompleteMe
" let g:ycm_autoclose_preview_window_after_completion = 1 " let g:ycm_autoclose_preview_window_after_completion = 1

View file

@ -3,7 +3,7 @@
# colors # colors
#autoload -U colors && colors #autoload -U colors && colors
# MOTDs # ----- MOTDs
pfetch pfetch
echo "--------------------------------------" echo "--------------------------------------"
rateUSD rateUSD
@ -39,6 +39,8 @@ export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC'
set -o vi set -o vi
bindkey -v bindkey -v
export KEYTIMEOUT=1 export KEYTIMEOUT=1
# Keybindings
[ -f ~/.config/zsh/keybinds ] && source ~/.config/zsh/keybinds [ -f ~/.config/zsh/keybinds ] && source ~/.config/zsh/keybinds
# Plugins # Plugins