mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-22 15:43:42 +00:00
another package manager
This commit is contained in:
parent
bceab31d59
commit
cff3e112ef
3 changed files with 25 additions and 11 deletions
|
@ -36,3 +36,13 @@ bind-key -T copy-mode-vi 'V' send -X rectangle-toggle
|
|||
bind-key -T copy-mode-vi 'y' send -X copy-selection
|
||||
bind-key -T copy-mode-vi Enter send -X copy-selection
|
||||
bind p paste-buffer
|
||||
|
||||
# Plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin "arcticicestudio/nord-tmux"
|
||||
|
||||
## Install TPM if it's not yet installed
|
||||
if "test ! -d ~/.tmux/plugins/tpm" \
|
||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
|
|
23
vim/vimrc
23
vim/vimrc
|
@ -9,14 +9,17 @@ autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
|
|||
\| PlugInstall --sync | source $MYVIMRC
|
||||
\| endif
|
||||
|
||||
call plug#begin('~/.vim/plugged')
|
||||
"--- Plugins
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'arcticicestudio/nord-vim'
|
||||
Plug 'ojroques/vim-oscyank'
|
||||
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'junegunn/fzf.vim'
|
||||
Plug 'preservim/nerdtree'
|
||||
Plug 'ctrlpvim/ctrlp.vim'
|
||||
|
||||
Plug 'editorconfig/editorconfig-vim'
|
||||
|
||||
|
@ -29,6 +32,8 @@ Plug 'jparise/vim-graphql'
|
|||
Plug 'kevinoid/vim-jsonc'
|
||||
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
call plug#end()
|
||||
"--- CodeServer Configurations
|
||||
let g:coc_global_extensions = [
|
||||
\ 'coc-tsserver',
|
||||
\ 'coc-prettier',
|
||||
|
@ -43,9 +48,8 @@ if isdirectory('./node_modules') && isdirectory('./node_modules/eslint')
|
|||
let g:coc_global_extensions += ['coc-eslint']
|
||||
endif
|
||||
"--- TMUX/Clipboard fixes
|
||||
Plug 'ojroques/vim-oscyank'
|
||||
|
||||
set t_Co=256
|
||||
set t_ut=
|
||||
" Set Vim-specific sequences for RGB colors
|
||||
" Fixes 'termguicolors' usage in vim+tmux
|
||||
" :h xterm-true-color
|
||||
|
@ -71,15 +75,14 @@ if exists('##TextYankPost')
|
|||
autocmd TextYankPost * silent! if v:event.operator ==# 'y' | call YankOSC52(join(v:event["regcontents"],"\n")) | endif
|
||||
augroup END
|
||||
endif
|
||||
"--- Themes
|
||||
set t_ut=
|
||||
Plug 'arcticicestudio/nord-vim'
|
||||
"--- VIM Configuration
|
||||
|
||||
"---
|
||||
call plug#end()
|
||||
|
||||
:set number
|
||||
"- Keybindings
|
||||
let g:ctrlp_map = '<c-p>'
|
||||
let g:ctrlp_cmd = 'CtrlP'
|
||||
|
||||
"- Visuals
|
||||
set number
|
||||
let g:nord_cursor_line_number_background = 1
|
||||
let g:nord_underline = 1
|
||||
let g:nord_italic = 1
|
||||
|
|
|
@ -27,7 +27,8 @@ kubectl () {
|
|||
KUBECTL_COMPLETE=1
|
||||
fi
|
||||
}
|
||||
source /usr/share/nvm/init-nvm.sh
|
||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
|
||||
# Starship
|
||||
export STARSHIP_CONFIG=~/.starship.toml
|
||||
|
|
Loading…
Reference in a new issue