reference: https://github.com/sagarrakshe/dotvim, https://github.com/sagarrakshe/dotfiles
Run the following command to set up the environmentwith wget:
sh -c "$(wget https://raw.githubusercontent.com/chhetrisushil/dotfiles/master/setup.sh -O -)"OR
with curl:
sh -c "$(curl -fsSL -H 'Cache-Control: no-cache, no-store' https://raw.githubusercontent.com/chhetrisushil/dotfiles/master/setup.sh)"NOTE: Run the following command to see verbose logs
curl -sL -H 'Cache-Control: no-cache, no-store' https://raw.githubusercontent.com/chhetrisushil/dotfiles/master/setup.sh | sh -s -- -vvvinstall alock from https://github.com/chhetrisushil/alock install ‘yakuake’ for drop-down terminal
- Install
mpvfor mac os using brew run the following commandbrew install https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/mpv.rb
- Install nerd font from https://github.com/ryanoasis/nerd-fonts#font-installation
- Install nerd devicons for fancy nerd tree icons https://github.com/ryanoasis/vim-devicons#installation
- Install
Meslo LG S Italic for Powerline Nerd Font.ttffont to the system for linux - For linux place the font in
/usr/share/font/folder and rebuild the font cachefc-cache -f -v - For Mac install font from
./mac-Meslo-Nerd-Font/Meslo LG S Italic for Powerline Nerd Font.ttf
- Install powerline font from https://github.com/powerline/fonts
- set the font
Meslo LG S DZ for Powerlinein the terminal (italic preferably)
- Follow the instruction in this repo https://github.com/wesbos/Cobalt2-iterm
- Follow install instructions from https://github.com/suan/vim-instant-markdown
- Run command
sudo apt-get install ack-grepto install ack. symlink ack-grep to ack if neededln -s /usr/bin/ack-grep /usr/bin/ack
- Install zsh-autosuggestions from https://github.com/zsh-users/zsh-autosuggestions
- Run the following command
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions - Plugin is already mapped in
.zshrcfile
- Try
sudo pacman -S xcapefirst (archlinux) - Install xcape from https://github.com/alols/xcape before setting up the environment
- Try
sudo pacman -S xorg-xmodmapfirst (archlinux) - Install xmodmap before setting up the environment
- This also maps backslash to Hyper_R (on long press) and backslash (on tap)
- Install
HyperKey.appfrom https://hyperkey.app/
jsctagsfor ctags generation for vim read more at https://www.npmjs.com/package/jsctags- Run the following command to create tags file
find <path to directory containing javascript files> -type f -iregex ".*\.js$" -not -path "./node_modules/*" -exec jsctags {} -f \; | sed '/^$/d' | sort > tags - set the tags option to the tag file in local.vim e.g.
set tags+=./tags
- Install
the_silver_searcherwhich is aliased to commandagfor searching agis also used in vim config for inside vim searching- Repo for the_silver_searcher https://github.com/ggreer/the_silver_searcher
- Install
elm-formatby running commandnpm i -g elm-format - Repo for
elm-formatas reference: https://github.com/avh4/elm-format elm-formatis enabled for vim on save
- Install
elmby runningnpm i -g elm - Elm reference site https://guide.elm-lang.org/
- Introduciton to Elm https://www.gitbook.com/book/evancz/an-introduction-to-elm/details
- Copy
nvimfolder to~/.config - NOTE: vim’s
.vimfolder and.vimrcshould alredy be setup before copying nvim folder
- Install
batit’s a good alternate tocatcommand for file content viewing
- Install
lazydockerfor visual docker container management
- interactvie filtering command tool https://github.com/peco/peco
- github: https://github.com/rupa/z
- path on arch linux
/usr/share/z/z.sh
- documentation: http://manpages.ubuntu.com/manpages/bionic/man1/trayer.1.html
yay -Syu trayer
- Telescope: fuzzy finder https://github.com/nvim-telescope/telescope.nvim
- github copilot: https://github.com/github/copilot.vim
- which-key: https://github.com/folke/which-key.nvim
- toggleterm: https://github.com/akinsho/toggleterm.nvim
- nvim-tree (file explorer): https://github.com/kyazdani42/nvim-tree.lua
- nvim-web-devicons: https://github.com/kyazdani42/nvim-web-devicons
- neovim setup https://github.com/craftzdog/dotfiles-public
- neovim setup video: https://www.youtube.com/watch?v=FW2X1CXrU1w&t=741s&ab_channel=devaslife
- ranger in neovim: https://github.com/kevinhwang91/rnvimr
- website: https://the.exa.website/
- github: https://github.com/ogham/exa
- github: https://github.com/sharkdp/fd
- github: https://github.com/LunarVim/LunarVim
- Documentation: https://www.lunarvim.org
yay -Syu dmenu- github: https://github.com/stilvoid/dmenu
- suckless documentation: https://tools.suckless.org/dmenu/
yay -Syu polybar- github: https://github.com/polybar/polybar
- documentation: https://polybar.readthedocs.io/en/stable/, https://polybar.github.io/
yay -Syu betterlockscreen- github: https://github.com/betterlockscreen/betterlockscreen
- Run the script located in
scripts/bin/kanata_launch_macoslocated in thedotfilesfolder - Add
kanatabinary tosystem settings -> privacy & security -> input monitoring - Reboot the system
- Run
sudo groupadd uinputto create ainputuser group. - Run
sudo usermod -aG input,uinput $(whoami)to add the user to the usergroups.
NOTES:
- Before setting up vim copy
.vimfolder to~/.vim - Install
typescriptdtsmtypingsby runningsudo npm install -g typescript dtsm typingsfor typescripts plugin to work properly - location of most of the config is HOME directory (i.e. ~/) except for .gitconfig which resides in the project directory
- location for
.ackrcis home directory (i.e. ~/) e.g.~/.ackrc - Keep colors folder inside
~/.vimfolder - Create a “.tags” folder in home directory - Run npm install after installing tern plugin - Run git submodule update –init –recursive in vim-jsbeautify plugin folder
- Map actionscript.dict in .vimrc properly - Path to xmonad.desktop
/usr/share/xsessions/xmonad.desktop, update theExecproperty value to the starter script - Ultisnips to work create a directory
mkdir -p ~/.vim/ftdetectand run this commandln -s ~/.vim/bundle/ultisnips/ftdetect/* ~/.vim/ftdetect/-jsctagsfor ctags generation for vim read more at https://www.npmjs.com/package/jsctags - use https://github.com/gpakosz/.tmux for tmux configuration
- set locale to utf8 in linux for powerline fonts to work properly in tmux, run
sudo localectl set-locale LANG“en_IN.utf8”, choose utf8 locale by running =localectl list-locales. Once the locale is set a reboot is required. - Install
eslint, runnpm install -g eslint-.tmux/folder is customized copy ofoh-my-tmux - to enable undercurl set the following in
.tmux.conf.localCopy with #!importantset -g default-terminal 'alacritty' #!important set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' #!important set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' #!important
- install
reattach-to-user-namespacein macos for tmux and clipboard binding andxclipfor Linux - install
clipitfor clipboard management (paste from history) for linux - install
pywalfor setting wallpaper and corresponding theme - install
nerd-fonts-completefrom AUR for arch linux for nerd font support (powerline support) - terminator config path
.config/terminator/config- ifkanatadoes’t work refer https://github.com/jtroo/kanata as there might be a need to add the user touinputgroup. - copy
.cargo/configbefore setting up neovim.lua/json5neovim plugin needs this file. - install
debugpyto debug python in neovimpip3 install debugpy - install
delvethrough mason plugin (Mason dap) - install
mermaid clinpm install -g @mermaid-js/mermaid-cli - install
magick cli(imagemagick)brew install imagemagick - install
plantuml clibrew install plantumlbefore that installgraphviz, it’s a plantuml dependencybrew install graphviz - install
ueberzugppto render image on terminalbrew install jstkdng/programs/ueberzugpp - install
quarto cliforquarto-nvimto work (https://quarto.org/docs/get-started/) - install
ghforocto.nvim