clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

adding open in obsidian, harpoon and lot of other stuff

sspaeti cf26a8d0 55d59643

+64 -14
+5 -2
Brewfile
··· 19 19 brew "bash-completion" 20 20 brew "brew-cask-completion" 21 21 brew "commitizen" 22 - brew "docker", link: false 23 22 brew "fzf" 24 23 brew "hub" 25 24 brew "hugo" 26 25 brew "kubernetes-cli" 27 26 brew "lastpass-cli", args: ["HEAD"] 27 + brew "mdcat" 28 28 brew "node" 29 29 brew "nativefier" 30 30 brew "neovim", args: ["HEAD"] ··· 33 33 brew "openssl@3" 34 34 brew "pandoc" 35 35 brew "pipenv" 36 - brew "postgresql", restart_service: true 36 + brew "postgresql" 37 37 brew "tcl-tk" 38 38 brew "python@3.8" 39 39 brew "python@3.9" ··· 60 60 cask "disk-inventory-x" 61 61 cask "docker" 62 62 cask "drawio" 63 + cask "firefox" 63 64 cask "flux" 64 65 cask "gitkraken" 65 66 cask "google-chrome" ··· 69 70 cask "istat-menus" 70 71 cask "kitty" 71 72 cask "lastpass" 73 + cask "libreoffice" 74 + cask "macvim" 72 75 cask "mark-text" 73 76 cask "notion" 74 77 cask "obsidian"
+1
backup_dotfiles.sh
··· 8 8 cp ~/.config/nvim/coc.vim $git/general/dotfiles/nvim/coc.vim 9 9 cp ~/.config/nvim/coc-settings.json $git/general/dotfiles/nvim/coc-settings.json 10 10 cp -r ~/.config/nvim/themes $git/general/dotfiles/nvim/themes 11 + cp -r ~/.config/nvim/plugin $git/general/dotfiles/nvim/plugin 11 12 cp -r ~/.config/nvim/autoload $git/general/dotfiles/nvim/autoload 12 13 cp -r ~/.gitconfig $git/general/dotfiles/git/gitconfig 13 14
+13 -2
nvim/init.vim
··· 31 31 Plug 'tpope/vim-fugitive' 32 32 " " telescope requirements... 33 33 " Plug 'nvim-lua/popup.nvim' 34 - " Plug 'nvim-lua/plenary.nvim' 34 + Plug 'nvim-lua/plenary.nvim' 35 + Plug 'ThePrimeagen/harpoon' 35 36 " Plug 'nvim-telescope/telescope.nvim' 36 37 " Plug 'nvim-telescope/telescope-fzy-native.nvim' 37 38 ··· 60 61 Plug 'github/copilot.vim' 61 62 "Markdown (or any Outline 62 63 Plug 'simrat39/symbols-outline.nvim' 64 + Plug 'vimwiki/vimwiki' 63 65 call plug#end() 64 66 "install with :PlugInstall 65 67 ··· 104 106 filetype plugin indent on 105 107 set clipboard=unnamedplus " Copy paste between vim and everything else -> inserts all into system clipboard 106 108 noremap <Leader>ca ggVG"*y " Copy all in file to system clipboard 109 + set nocompatible " Recommende for VimWiki 107 110 108 111 set ruler " show the cursor position all the time 109 112 set showcmd " display incomplete commands ··· 255 258 "nnoremap <leader>n :NERDTreeFocus<CR> 256 259 "nnoremap <C-n> :NERDTree<CR> 257 260 nnoremap <C-l> :NERDTreeToggle<CR> 261 + nmap <leader>l :NERDTreeToggle<CR> 258 262 " nnoremap <C-f> :NERDTreeFind<CR> 259 263 260 264 " Outline Shortcut ··· 287 291 " nnoremap <leader>fb <cmd>Telescope buffers<cr> 288 292 " nnoremap <leader>fh <cmd>Telescope help_tags<cr> 289 293 " nnoremap <C-p> <cmd>Telescope find_files<cr> 290 - " 294 + 291 295 nnoremap Y y$ 292 296 " keeping it centered 293 297 nnoremap n nzzzv ··· 332 336 let w:surround_{char2nr('w')} = "```\r```" 333 337 let b:surround_{char2nr('b')} = "**\r**" 334 338 339 + " Open file in Obsidian vault 340 + command IO execute "silent !open 'obsidian://open?vault=SecondBrain&file=" . expand('%:r') . "'" 341 + nnoremap <leader>io :IO<CR> 335 342 336 343 "cusotm stuff just for neovim 337 344 source $HOME/.config/nvim/themes/airline.vim 338 345 source $HOME/.config/nvim/themes/onedark.vim 346 + 347 + " source settings 348 + source $HOME/.config/nvim/plugin/harpoon.vim 349 + 339 350 "syntax on 340 351 341 352 ""Gruvbox:
+11
nvim/plugin/harpoon.vim
··· 1 + 2 + " These functions are stored in harpoon. 3 + nnoremap <silent><leader>a :lua require("harpoon.mark").add_file()<CR> 4 + nnoremap <silent><C-e> :lua require("harpoon.ui").toggle_quick_menu()<CR> 5 + "nnoremap <silent><leader>tc :lua require("harpoon.cmd-ui").toggle_quick_menu()<CR> 6 + 7 + 8 + nnoremap <silent><C-1> :lua require("harpoon.ui").nav_file(1)<CR> 9 + nnoremap <silent><C-2> :lua require("harpoon.ui").nav_file(2)<CR> 10 + nnoremap <silent><C-3> :lua require("harpoon.ui").nav_file(3)<CR> 11 + nnoremap <silent><C-4> :lua require("harpoon.ui").nav_file(4)<CR>
+11
nvim/plugin/plugin/harpoon.vim
··· 1 + 2 + " These functions are stored in harpoon. 3 + nnoremap <silent><leader>a :lua require("harpoon.mark").add_file()<CR> 4 + nnoremap <silent><C-e> :lua require("harpoon.ui").toggle_quick_menu()<CR> 5 + nnoremap <silent><leader>tc :lua require("harpoon.cmd-ui").toggle_quick_menu()<CR> 6 + 7 + 8 + nnoremap <silent><C-j> :lua require("harpoon.ui").nav_file(1)<CR> 9 + nnoremap <silent><C-k> :lua require("harpoon.ui").nav_file(2)<CR> 10 + nnoremap <silent><C-ö> :lua require("harpoon.ui").nav_file(3)<CR> 11 + nnoremap <silent><C-ä> :lua require("harpoon.ui").nav_file(4)<CR>
+1 -1
obsidian/appearance.json
··· 1 1 { 2 - "baseFontSize": 17, 2 + "baseFontSize": 18, 3 3 "cssTheme": "Obsidian gruvbox", 4 4 "theme": "obsidian", 5 5 "enabledCssSnippets": [
+10
test.md
··· 1 + 2 + 3 + 4 + 5 + [test123](test123) file 6 + 7 + [[test1234]] 8 + 9 + 10 + [[test1]]
+7 -8
tmux/tmux.conf
··· 7 7 # List of plugins 8 8 set -g @plugin 'tmux-plugins/tpm' 9 9 set -g @plugin 'tmux-plugins/tmux-sensible' 10 - "set -g @plugin 'odedlaz/tmux-onedark-theme' 10 + # set -g @plugin 'odedlaz/tmux-onedark-theme' 11 11 set -g @plugin 'egel/tmux-gruvbox' 12 12 set -g @plugin 'tmux-plugins/tmux-continuum' 13 13 set -g @plugin 'tmux-plugins/tmux-resurrect' ··· 26 26 set-option -g prefix C-t 27 27 set-option -g repeat-time 0 28 28 29 - 30 29 set-window-option -g mode-keys vi 31 30 32 31 33 - #vim-like pane switching 32 + #vim-like pane switching 34 33 bind -r k select-pane -U 35 34 bind -r j select-pane -D 36 35 bind -r h select-pane -L ··· 38 37 39 38 40 39 41 - # Maps <Ctrl>-h to select pane on the left. Vim-like navigation (does not work.. 42 - bind -n C-k select-pane -U 43 - bind -n C-j select-pane -D 44 - bind -n C-h select-pane -L 45 - bind -n C-l select-pane -R 40 + # Maps <Ctrl>-h to select pane on the left. Vim-like navigation - conflicts a lot with other cmd 41 + #bind -n C-k select-pane -U 42 + #bind -n C-j select-pane -D 43 + #bind -n C-h select-pane -L 44 + #bind -n C-l select-pane -R 46 45 47 46 #shift + control switch windows 48 47 #bind-key -n C-S-Left swap-window -t -1
+5 -1
zsh/aliases.shrc
··· 7 7 8 8 # that pip install strawberry-graphql[debug-server] will not fail (square brackets are used for globbing: https://stackoverflow.com/a/30539963/5246670) 9 9 alias pip='noglob pip' 10 + 11 + # tmux 10 12 alias ide=~/.tmux/ide 11 13 alias tmux-session=~/.tmux/tmux-session 14 + alias killtmuxsessions="tmux ls -F'#{session_name}'|egrep '^[0-9]+$'|xargs -I% tmux kill-session -t \"=%\"" 15 + alias ta=tmux attach 16 + 12 17 # when closing ranger it will be at the path you were 13 18 alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"' 14 19 ··· 41 46 alias dkcpstop="docker-compose stop" 42 47 43 48 44 - alias killtmuxsessions="tmux ls -F'#{session_name}'|egrep '^[0-9]+$'|xargs -I% tmux kill-session -t \"=%\""