Commit graph

1595 commits

Author SHA1 Message Date
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
22e727b859 sway: Fix gst-play outputs to workspace 4
Use the command to figure out
swaymsg -t get_tree | jq | nvim -R

gst-play does not seem to get an app_id so relying on the title for the
same.
2021-12-28 19:24:45 +05:30
dc00cca6ca fish: conf/fnm: Switch to required node version automatically 2021-12-28 19:24:45 +05:30
ae61dca249 Switch back to JetBrains Mono
To make sure symbols still get rendered properly, we need to install
the ttf-nerd-fonts-symbols package. Then make sure the below symlink
is present to make it work.

ln -s /usr/share/fontconfig/conf.avail/10-nerd-font-symbols.conf /etc/fonts/conf.d/10-nerd-font-symbols.conf
2021-12-28 19:23:18 +05:30
ab22c57805 nvim: after/plugin/lualine: Fix typo 2021-12-24 10:25:15 +05:30
d74d65f667 fish: functions/gl: Allow passing an argument & support cherry picking a commit
This allows us to specify a directory or file to run this git log
command on. Also add support for cherry-picking a commit.
2021-12-23 13:56:03 +05:30
6ab7d9531d nvim: after/plugin/fugitive: Force local tag update on fetch 2021-12-22 12:55:51 +05:30
07b161acf6 nvim: plugins: Add wilder for suggestions in wildmenu 2021-12-21 19:56:52 +05:30
c969cc7ed4 kitty: session: Do not launch tiny IRC automatically 2021-12-21 19:56:52 +05:30
6a62f22855 nvim: lsp: Lower the debounce interval 2021-12-21 09:26:36 +05:30
7e943ae1c5 nvim: lsp: Update Python Jedi language server configuration 2021-12-21 09:26:36 +05:30
e661dded6c fish: functions: Add aliases for ls/exa and mkdir 2021-12-21 09:26:36 +05:30
5111831300 tmux: Use Ctrl-arrow keys to switch panes 2021-12-20 16:01:24 +05:30
64358a0170 fish: Add an alias to reload kitty configuration 2021-12-18 11:00:41 +05:30
5a6981e6f7 fish: functions: Use fzf git browse function for git log 2021-12-17 09:58:18 +05:30
755238d83c nvim: after/plugin/fzf: Add some more mappings for preview window 2021-12-16 20:23:36 +05:30
1896207312 fish: functions/fbr: Drop use of delta and xclip
We do not use delta anymore (neovim for everything) and instead of xclip
we need wl-copy in Wayland.

While at it, also add support for scrolling the preview.
2021-12-16 20:23:36 +05:30
b7762f552d nvim: lsp: Enable text for LSP protocol completion item kind 2021-12-16 18:52:53 +05:30
2a8dd6343a nvim: after/plugin/lualine: Move diagnostics to the right of status line 2021-12-16 18:12:51 +05:30
664218addb git: ignore: Ignore cargo build directories 2021-12-16 18:12:51 +05:30
323880ab56 fontconfig: Use Hack as the fallback font 2021-12-16 13:34:27 +05:30
6349597241 pylint: Ignore invalid name and global statement lint (C0103 & W0603) 2021-12-15 19:54:20 +05:30
4d19532127 nvim: after/plugin/lualine: Use simplified symbols 2021-12-15 16:57:30 +05:30
cafd726fcf wezterm: Add an initial wezterm configuration 2021-12-15 14:54:04 +05:30
ecd77902a6 Purge conky and picom configuration 2021-12-15 10:05:03 +05:30
8e0fdbdaae nvim: Drop nvim-cmp
Auto-completion has mostly been annoying than of any actual use. Just
fancy annoying crap. Just use in built omni completion.
2021-12-14 15:44:33 +05:30
20c3b7dd7d nvim: after/plugin/snipcomp: LuaSnip companion plugin for omni completion
The reddit announcement
https://www.reddit.com/r/neovim/comments/rddugs/snipcomplua_luasnip_companion_plugin_for_omni/
2021-12-14 15:44:33 +05:30
abc00380fc nvim: after/ftplugin: diff/git: Allow jumping between sections of diff
Use [c and ]c to jump between sections of diff.
2021-12-14 15:44:33 +05:30
168e03563d git: Use neovim as our diff tool and pager 2021-12-14 15:44:33 +05:30
f839a3bfff fish: Add the most commonly used git aliases 2021-12-14 15:44:33 +05:30
de0a69ee11 fish: Add an alias to ps_mem 2021-12-13 15:15:01 +05:30