Commit graph

2225 commits

Author SHA1 Message Date
fa0308e93e nvim: Update packer 2022-01-20 10:18:45 +05:30
3cf20c4822 nvim: autoload/git: Generate a helpful name to use with stash 2022-01-19 17:44:15 +05:30
e807b1126a nvim: init: Disable Python3 provider 2022-01-19 10:31:37 +05:30
6e86a6a777 nvim: plugins: Drop Coqtail
We are not gonna be pursuing studying Coq for quite a long while and
dropping this should allow us to drop Python provider, so drop this.
2022-01-19 10:29:48 +05:30
873f3643aa fish: functions: Add alias to switch git repo between HTTPS and SSH
Taken from
https://github.com/whonore/dotfiles/blob/main/fish/functions/git_remote_toggle.fish
2022-01-15 17:42:51 +05:30
ea885f426d pylint: Ignore more lints 2022-01-15 17:42:51 +05:30
5f26c276ef nvim: plugins: Drop vim-coq-plugin
coqtail can provide syntax highlighting. Not sure why we ever
added vim-coq-plugin.
2022-01-15 16:26:14 +05:30
c35ca910e4 nvim: plugins: Switch to gitlinker from vim-rhubarb
Also see commit a7b12dc6.
2022-01-15 15:53:43 +05:30
34671c62fa kitty: Add mapping to jump to the 10th tab 2022-01-13 17:37:12 +05:30
ef84036ec3 fish: conf/setup: Set XDG base directory environment variables 2022-01-12 17:39:10 +05:30
4d978c02f6 nvim: after/plugin/nvim-lint: Enable linting for Dockerfile 2022-01-12 13:16:29 +05:30
cb8dfaddfa nvim: after/plugin/fzf: Add a binding for select all 2022-01-11 11:38:55 +05:30
eea27349ab nvim: plugins: Drop ferret
We hardly ever use this, so drop it.
2022-01-11 11:38:55 +05:30
54c8c977a4 nvim: plugins: Drop QFEnter
We actually never use this plugin.
2022-01-11 11:13:07 +05:30
389845a79e fish: functions/rfc: Enable preview support
RFC files are text files, using anything other than less like bat will
not add much value.
2022-01-10 14:23:49 +05:30
c2fabd0259 nvim: treesitter: Remove verilog support
Conflicts with coq and crashes nvim sometimes.
2022-01-08 10:51:54 +05:30
e3d3e8b986 fish: functions: Add an alias to coqtop
Wrap coqtop in rlwrap and create an alias for that.
2022-01-07 20:39:57 +05:30
0f51ccdf6b nvim: keymappings: Use arrow keys to navigate popup menu 2022-01-07 16:20:35 +05:30
426cdd7ee8 fish: functions: Add an alias to easily get neovim start up time 2022-01-07 14:05:21 +05:30
5a270db645 nvim: plugins: Drop wilder 2022-01-07 13:36:13 +05:30
0928a6e37e nvim: plugins: Add patchreview 2022-01-06 15:29:26 +05:30
9316c06aa2 nvim: init: Enable filetype.lua and disable filetype.vim
See the below threads
https://github.com/neovim/neovim/pull/16600
https://www.reddit.com/r/neovim/comments/rvwsl3/introducing_filetypelua_and_a_call_for_help/
https://neovim.discourse.group/t/introducing-filetype-lua-and-a-call-for-help/1806
2022-01-06 15:29:26 +05:30
4151be1e4b git: Ignore a work related directory 2022-01-06 15:25:10 +05:30
e0a642c949 nvim: colors: yolokai: Set Diff color background to black 2022-01-06 15:19:09 +05:30
a30eda8531 fish/functions/gl: git: Manually set the file type to git when calling nvim
See discussion in
https://github.com/neovim/neovim/issues/16940
2022-01-06 15:15:20 +05:30
d72b6430a4 kitty: Simplify the scroll back pager command invocation
There is no need for us to make neovim execute those commands at
startup.
2022-01-05 18:21:10 +05:30
a9136536f7 nvim: plugin/ansiesc: Do not set relative number 2022-01-05 18:21:10 +05:30
53446a15a1 nvim: after/plugin/wilder: Update configuration
- Do not enable the popup menu automatically
- Use arrow keys to navigate
- Enable for cmdline
2022-01-05 16:05:27 +05:30
307ae9eb7f fish: functions: gd: Allow passing arguments 2022-01-05 13:03:59 +05:30
22b9c09391 fish: functions: Add aliases for git difftool 2022-01-04 19:35:56 +05:30
287798ad1f kitty: diff: Specify color scheme for kitty diff 2022-01-04 19:35:56 +05:30
f3fdde252a git: Add support for using kitty as a difftool
While at it drop unnecessary double quotes.
2022-01-04 19:35:33 +05:30
4ecaa955df kitty: Use Regular instead of Medium Italic 2022-01-04 18:23:47 +05:30
43bcc268cd kitty: Enable shell integration
This is available since 0.24.
2022-01-04 17:52:20 +05:30
7b19fceff2 nvim: plugins: Drop which-key 2022-01-04 15:15:47 +05:30
64ac6ed70c nvim: init: Clean up unused vim-sneak settings 2022-01-04 15:15:47 +05:30
6744dc6004 nvim: lsp: Do not enable document highlight on CursorHoldI 2022-01-04 15:15:47 +05:30
9251900f70 nvim: yolokai: Sync with nvim-highlite upstream 2022-01-04 15:15:47 +05:30
25de9376a9 nvim: keymappings: Add a mapping for finding exact match 2022-01-03 20:26:56 +05:30
95a247891e fish: conf/setup: Pass the shell syntax to use for fnm
From the twitter discussion with fnm author, shell inference seems to be
slow. Passing the shell to use manually seems to speed this up.

fnm env --log-level=quiet | source

Executed in  534.50 millis    fish           external
   usr time    0.62 millis  620.00 micros    0.00 millis
   sys time    4.76 millis    0.00 micros    4.76 millis

fnm env --shell=fish --log-level=quiet | source

Executed in    1.51 millis    fish           external
   usr time    1.06 millis    0.00 micros    1.06 millis
   sys time    0.58 millis  579.00 micros    0.00 millis

Also, see the github issue
https://github.com/Schniz/fnm/issues/621
2022-01-03 20:26:47 +05:30
4c091da20d foot: Use kitty color scheme 2021-12-29 19:41:32 +05:30
568cae50eb kitty: Add the default color scheme used by foot
We pick the same base 16 colors as in the default foot configuration
but with the background set to complete black viz #000000. Might want
to use this at a later date.
2021-12-29 19:36:24 +05:30
96977caa81 nvim: lsp: Fix typos & symbols in LSP protocol completion item kind 2021-12-29 18:54:57 +05:30
e541b2d745 fish: Refactor fish shell configuration
- Drop starship. This also helps us to get rid of ttf-font-nerd install
  which is a dependency of starship.
- Source fnm env only once on login. This makes fish shell/terminal load
  much much faster. Add an alias to invoke fnm use easily.
- Set path or environment variables only when required path or binary
  exists.
- Introduce a function to profile fish easily.
- Borrow the fish prompt logic from Alexis King's configuration.
- Factor out key binding related settings.
- Make su launch fish.

Prompt and other ideas for clean up taken from
https://github.com/lexi-lambda/dotfiles/tree/master/fish
2021-12-29 18:54:57 +05:30
c6a7ba29bd nvim: init.lua: Drop defaults
See :help nvim-defaults. The switchbuf setting was different than the
default though.

Drop cursorline settings as that doesn't make sense since we stopped
using relativenumber a while back.
2021-12-29 18:54:57 +05:30
93c0c7033b kitty: Drop srcery color scheme and use default 2021-12-28 19:24:45 +05:30
cba7712eb2 nvim: after/plugin/nvim-lint: Enable languagetool for markdown & text 2021-12-28 19:24:45 +05:30
6b9f354f78 nvim: after/plugin: fzf/fzf-preview: Support searching visual selection 2021-12-28 19:24:45 +05:30
5abf204ae6 nvim: treesitter: Enable markdown 2021-12-28 19:24:45 +05:30
8ed965088a nvim: plugins: Drop vim-pandoc
Drop vim-pandoc as we want to move to syntax highlighting via
treesitter.
2021-12-28 19:24:45 +05:30