Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove zinit #16

Merged
merged 10 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ sh <(curl -L https://nixos.org/nix/install)
2. clone this repo and modify the personal info in `config.nix`
```bash
git clone http://github.com/williamhsieh/dotfiles ~/dotfiles && cd ~/dotfiles
nvim ./home/config.nix
```
3. apply home-manager settings (leaving `USER` empty will call `.#william` by default)
```bash
Expand Down
109 changes: 0 additions & 109 deletions config/.zshrc

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ local function yank()
else
vim.cmd('normal! y')
end
vim.fn.system('bash ~/dotfiles/scripts.sh yank', vim.fn.getreg('0'))
vim.fn.system('bash ~/dotfiles/config/zsh/autoload/yank', vim.fn.getreg('0'))
vim.notify("copied to clipboard")
end

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions config/.tmux.conf → config/tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
bind -T copy-mode-vi q send -X clear-selection

# copy tmux buffer to clipboard
bind y run 'tmux saveb - | bash ~/dotfiles/scripts.sh yank && tmux display "copied!"'
bind y run 'tmux saveb - | bash ~/dotfiles/config/zsh/autoload/yank && tmux display "copied!"'

# tab like experience
bind -n M-) switch-client -n
Expand Down Expand Up @@ -237,7 +237,7 @@ set -g @resurrect-capture-pane-contents 'on'
set -g @plugin 'laktak/extrakto'
set -g @extrakto_copy_key "ctrl-y"
set -g @extrakto_insert_key "enter"
set -g @extrakto_clip_tool "bash ~/dotfiles/scripts.sh yank"
set -g @extrakto_clip_tool "bash ~/dotfiles/config/zsh/autoload/yank"
# }}}
# }}}

Expand Down
2 changes: 1 addition & 1 deletion config/.vimrc → config/vim/.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
" Copy to clipboard
"{{{
function! Osc52Yank(msg)
call system('bash ~/dotfiles/scripts.sh yank', @0)
call system('bash ~/dotfiles/config/zsh/autoload/yank', @0)
call EchoMsg(a:msg)
endfunction

Expand Down
Loading