mirror of
https://github.com/mentos1386/dotfiles.git
synced 2025-01-31 00:35:42 +00:00
feat: changes and such
This commit is contained in:
parent
bab6b0ce61
commit
fdb48e750a
4 changed files with 21 additions and 22 deletions
|
@ -30,3 +30,5 @@
|
|||
process = git-lfs filter-process
|
||||
required = true
|
||||
|
||||
[http]
|
||||
postBuffer = 3221225472
|
||||
|
|
|
@ -79,3 +79,6 @@ map ctrl+shift+[ previous_tab
|
|||
|
||||
map ctrl+shift+enter launch --cwd=current
|
||||
map ctrl+shift+t new_tab_with_cwd
|
||||
|
||||
# Misc
|
||||
term xterm-256color
|
||||
|
|
|
@ -17,6 +17,7 @@ Plug 'vim-airline/vim-airline'
|
|||
Plug 'sainnhe/edge'
|
||||
Plug 'Yggdroot/indentLine'
|
||||
Plug 'koenverburg/peepsight.nvim'
|
||||
Plug 'norcalli/nvim-colorizer.lua'
|
||||
" Git
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
" Search/Files
|
||||
|
@ -278,6 +279,11 @@ nmap [s <Plug>(coc-typos-prev)
|
|||
" Fix typo at cursor position
|
||||
nmap z= <Plug>(coc-typos-fix)
|
||||
|
||||
"""""
|
||||
"--- Colorizer
|
||||
set termguicolors
|
||||
lua require'colorizer'.setup()
|
||||
|
||||
"""""
|
||||
"- Visuals
|
||||
set noshowmode
|
||||
|
@ -285,23 +291,6 @@ set number
|
|||
set cursorline
|
||||
set hlsearch " highlight all results
|
||||
set signcolumn=number " always show git diff column
|
||||
|
||||
"Credit joshdick
|
||||
"Use 24-bit (true-color) mode in Vim/Neovim when outside tmux.
|
||||
"If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support
|
||||
"(see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.)
|
||||
if (empty($TMUX))
|
||||
if (has("nvim"))
|
||||
"For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
|
||||
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||
endif
|
||||
"For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
|
||||
"Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
|
||||
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
|
||||
if (has("termguicolors"))
|
||||
set termguicolors
|
||||
endif
|
||||
endif
|
||||
set background=light
|
||||
let g:edge_enable_italic = 1
|
||||
let g:edge_background = 'hard'
|
||||
|
|
13
zsh/zshrc
13
zsh/zshrc
|
@ -41,6 +41,8 @@ alias gic="git checkout"
|
|||
alias difft="difftastic"
|
||||
alias vim="nvim"
|
||||
|
||||
alias kssh="kitty +kitten ssh"
|
||||
|
||||
# PATH
|
||||
export PATH=$PATH:$HOME/.bin:$HOME/go/bin:/snap/bin
|
||||
|
||||
|
@ -50,11 +52,14 @@ export EDITOR=vim
|
|||
# Nix fix
|
||||
export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
|
||||
|
||||
# Tmux nicer window name
|
||||
tmux-window-name() {
|
||||
if [ "${ZSH_TMUX_AUTOSTART}" = "true" ]
|
||||
then
|
||||
# Tmux nicer window name
|
||||
tmux-window-name() {
|
||||
($TMUX_PLUGIN_MANAGER_PATH/tmux-window-name/scripts/rename_session_windows.py &)
|
||||
}
|
||||
add-zsh-hook chpwd tmux-window-name
|
||||
}
|
||||
add-zsh-hook chpwd tmux-window-name
|
||||
fi
|
||||
|
||||
# Starship
|
||||
export STARSHIP_CONFIG=~/.starship.toml
|
||||
|
|
Loading…
Reference in a new issue