mirror of
https://github.com/Ajetski/dotfiles.git
synced 2025-09-30 11:33:18 -09:00
fixup styles
This commit is contained in:
parent
66765689fb
commit
dc4b961e85
@ -1,6 +1,12 @@
|
|||||||
local mark = require("harpoon.mark")
|
local mark = require("harpoon.mark")
|
||||||
local ui = require("harpoon.ui")
|
local ui = require("harpoon.ui")
|
||||||
|
|
||||||
|
require("harpoon").setup({
|
||||||
|
menu = {
|
||||||
|
width = vim.api.nvim_win_get_width(0) - 40,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>a", mark.add_file)
|
vim.keymap.set("n", "<leader>a", mark.add_file)
|
||||||
vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu)
|
vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu)
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
vim.opt.guicursor = "n-v-c-sm:block,i-ci-ve:ver25,r-cr-o:hor20"
|
vim.opt.guicursor = "n-v-c-sm:block,i-ci-ve:ver25,r-cr-o:hor20,a:blinkwait2000-blinkoff2000-blinkon2000-Cursor"
|
||||||
|
|
||||||
vim.opt.nu = true
|
vim.opt.nu = true
|
||||||
vim.opt.relativenumber = true
|
vim.opt.relativenumber = true
|
||||||
|
13
.zshrc
13
.zshrc
@ -35,6 +35,7 @@ alias v="nvim"
|
|||||||
|
|
||||||
#devleopment variables
|
#devleopment variables
|
||||||
TMUX_CONFIG="~/.config/tmux/.tmux.conf"
|
TMUX_CONFIG="~/.config/tmux/.tmux.conf"
|
||||||
|
TODO_ON_CLEAR=true
|
||||||
|
|
||||||
#development shortcuts
|
#development shortcuts
|
||||||
alias lg="lazygit"
|
alias lg="lazygit"
|
||||||
@ -44,7 +45,9 @@ alias ta="tmux -u -f $TMUX_CONFIG attach"
|
|||||||
alias tl="tmux list-sessions"
|
alias tl="tmux list-sessions"
|
||||||
alias o="rg --files . | fzf | xargs nvim"
|
alias o="rg --files . | fzf | xargs nvim"
|
||||||
alias r="ranger"
|
alias r="ranger"
|
||||||
alias c="clear; cat ~/todo;"
|
alias c='clear; $TODO_ON_CLEAR && cat ~/todo'
|
||||||
|
alias todooff="TODO_ON_CLEAR=false"
|
||||||
|
alias todoon="TODO_ON_CLEAR=true"
|
||||||
alias shreload="source ~/.zshrc"
|
alias shreload="source ~/.zshrc"
|
||||||
alias todo="nvim ~/todo"
|
alias todo="nvim ~/todo"
|
||||||
|
|
||||||
@ -65,10 +68,18 @@ alias egrep='egrep --color=auto'
|
|||||||
export PATH="/opt/homebrew/opt/cython/bin:$PATH"
|
export PATH="/opt/homebrew/opt/cython/bin:$PATH"
|
||||||
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
|
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
|
||||||
export PATH="$HOME/.emacs.d/bin:$PATH"
|
export PATH="$HOME/.emacs.d/bin:$PATH"
|
||||||
|
export PATH="$HOME/.scripts/utils:$PATH"
|
||||||
|
|
||||||
source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
|
source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
|
||||||
|
|
||||||
export STARSHIP_CONFIG=~/.config/starship/starship.toml
|
export STARSHIP_CONFIG=~/.config/starship/starship.toml
|
||||||
|
|
||||||
|
_bb_tasks() {
|
||||||
|
local matches=(`bb tasks |tail -n +3 |cut -f1 -d ' '`)
|
||||||
|
compadd -a matches
|
||||||
|
_files # autocomplete filenames as well
|
||||||
|
}
|
||||||
|
compdef _bb_tasks bb
|
||||||
|
|
||||||
cat ~/todo
|
cat ~/todo
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user