Commit graph

749 commits

Author SHA1 Message Date
b4cd8c26a2 kitty: Use cwd when opening new window
This is what we want most of the time. Add another key binding if we
want to open a window not in cwd.
2020-12-11 14:48:29 +05:30
7b3d4645c7 tinyirc: Limit the maximum number of messages stored for each UI tab 2020-12-11 13:17:18 +05:30
2e6e01eb2a nvim: lua: plugins: Drop edita
We added edita to be able to do interactive rebase inside neovim
terminal which Gina does not support by default.

See issue
https://github.com/lambdalisue/gina.vim/issues/276

Mostly haven't been using this, just relying on spawning a separate pane
in tmux or kitty window to do the rebase. So drop this.
2020-12-11 11:40:51 +05:30
ed49e0c4e3 fish: Add lg as an alias for lazygit 2020-12-10 13:09:27 +05:30
1d156d424f lazygit: Add preliminary configuration for lazygit 2020-12-10 13:08:52 +05:30
e3c7b2d052 kitty: Use Ctrl+q for closing window and not Ctrl+w 2020-12-10 11:44:42 +05:30
eb8346e80f nvim: lua: lsp: Add support for incremental sync
Support for incremental sync landed in neovim with this MR.
https://github.com/neovim/neovim/pull/13371
2020-12-09 10:14:18 +05:30
ab59251f2e nvim: lua: lsp: Fix call to show line diagnostics 2020-12-08 18:35:20 +05:30
1e55c5d336 Revert "nvim: Switch to using toggleterm instead of floaterm"
This reverts commit 7ef8054d41.
2020-12-08 16:42:42 +05:30
91cc5cef03 nvim: Update packer 2020-12-08 16:42:42 +05:30
a08acd892e tiny: Change tab normal fg to blue
With srcery color scheme in terminal, the current tab normal color makes
the inactive tab not visible/readable. So change the fg to blue to fix this.
2020-12-08 09:00:35 +05:30
9a995265ac tiny: Add some more IRC channels to auto login 2020-12-08 08:53:11 +05:30
fef45b50e9 Drop init.vim
With the below PR merged
https://github.com/neovim/neovim/pull/12235

init.lua is now first class and we have no need for init.vim anymore.
2020-12-07 13:05:08 +05:30
33dca47c05 nvim: Update packer 2020-12-07 13:05:08 +05:30
b1568e7803 kitty: Update font size, tab bar and scroll back settings
Also disable the Ctrl+]/[ binding as it is used for tag jump in vim.
2020-11-25 21:07:29 +05:30
7ef8054d41 nvim: Switch to using toggleterm instead of floaterm 2020-11-25 10:29:36 +05:30
dde738d953 alacritty: Switch alacritty to srcery color scheme 2020-11-25 10:29:36 +05:30
0eddbeba17 nvim: Update packer 2020-11-24 11:57:07 +05:30
515db926ce sway: Switch to using kitty as default terminal
Kitty supports ligatures and seems to have better font rendering. It's
memory consumption seems to be high however, it should allow us to
replace tmux or we can still use tmux with it if required while relying
on the window layouts and tabs feature to prevent us from requiring
spawning any more terminals. Spawning one kitty instance would be
sufficient to take care of everything.
2020-11-24 11:13:58 +05:30
989a76eba7 Add initial kitty configuration 2020-11-24 11:13:23 +05:30
905ffe795d Add configuration for ranger 2020-11-23 20:37:08 +05:30
78522c4699 alacritty: Fix url launcher section
URL launcher was not functional due to being not aligned with the mouse
section.
2020-11-23 13:03:26 +05:30
b861963f9a nvim: Add tmux completion source for completion-nvim 2020-11-21 12:08:25 +05:30
9a2f273a7d nvim: Sync with nvim-highlite upstream 2020-11-21 12:08:25 +05:30
1a88bddf19 nvim: lua: plugins: No need to specify branch anymore
With this commit upstream
a68b21be60

packer can handle finding default branches by itself and does not error
out like earlier for anything named other than master.
2020-11-21 11:13:02 +05:30
50a5d55fe4 nvim: Update for nvim LSP diagnostics
The diagnostic-nvim plugin got merged upstream and as a result the
plugin is not required anymore. LSP diagnostic highlight group names
were also updated.

See the below issues for notes on migration.
https://github.com/neovim/neovim/pull/12655
https://github.com/nvim-lua/diagnostic-nvim/issues/73
2020-11-21 11:05:07 +05:30
a25d54afee nvim: Update packer 2020-11-21 11:04:30 +05:30
a4ef81590a nvim: Update packer 2020-11-20 18:28:12 +05:30
fa3fd17e3e tmux: Start panes with index 1 and allow selecting 10th pane 2020-11-19 18:28:11 +05:30
0109e7fe36 Add configuration for vimiv 2020-11-19 17:30:37 +05:30
fdc059b7df alacritty: Use gruvbox colors 2020-11-19 16:44:50 +05:30
47a52ccbc9 tmux: Use gruvbox dark color scheme
Taken from
https://github.com/egel/tmux-gruvbox
2020-11-19 16:26:31 +05:30
1e1e4b8c77 Add configuration for Zathura 2020-11-19 15:23:31 +05:30
882b4bcc65 tinyirc: Put log files in /tmp/
If this is not specified it just writes all those to the home directory.
2020-11-19 11:08:11 +05:30
24444c8eef tinyirc: Add a configuration for tiny IRC client 2020-11-18 21:07:45 +05:30
e39fdcf39c alacritty: Specify the rest of the styles for font configuration 2020-11-18 13:59:32 +05:30
00bdf7ad8d alacritty: Enabling scrollback buffer 2020-11-18 13:53:29 +05:30
74fbeed89d Consistently set TERM as alacritty
This affects color rendering inside of tmux and also without tmux.
2020-11-18 13:14:08 +05:30
77514eaea0 nvim: Fix loading of git messenger
Relying on lazy loading on command invocation feature seems to not make the
default key bindings of the plugin take effect. Remove it.
2020-11-17 18:36:45 +05:30
7bb5343314 nvim: lua: modules: gitsigns: Add preview hunk feature now available upstream 2020-11-17 18:19:34 +05:30
603aa8bc56 waybar: Switch waybar to SourceCodePro font
We do this as it seems restricting the font to monospace in fontconfig
for JetBrains Mono as done in commit f2b2bed3 affects the spacing and
rendering of unicode icons used in waybar.
2020-11-17 15:18:52 +05:30
6907fff2e2 alacritty: Fix key binding for Paste
We require Ctrl-v for visual selection in neovim, so use a different key
binding for this.
2020-11-17 14:26:04 +05:30
da93717582 fish: Enable wayland support in firefox by default
See https://github.com/swaywm/sway/wiki/Running-programs-natively-under-wayland.
2020-11-17 14:26:04 +05:30
f2b2bed34a fontconfig: Set up fallback fonts
In case a glyph is absent in the default font, st uses font-config and
tries to find them in font cache first. This also seems to work for all
VTE terminals. However, alacritty relies on system configuration and does
not do the above. To fix this, we need specify a fallback font manually.
This also seems good practice in general otherwise.

For reference, see the below links.
https://st.suckless.org/patches/font2/
https://github.com/alacritty/alacritty/issues/3690
https://wiki.archlinux.org/index.php/Fonts#Fallback_font_order
https://eev.ee/blog/2015/05/20/i-stared-into-the-fontconfig-and-the-fontconfig-stared-back-at-me/

Also our use of galaxyline plugin for neovim requires nvim-web-devicons
which in turn requires a patched font like Nerd font.
2020-11-17 14:26:04 +05:30
432cb2c98f nvim: after: ftplugin: txt: Set textwidth to 78 2020-11-17 10:45:51 +05:30
974c399bea nvim: nvim lsp lua module name has changed upstream 2020-11-15 22:39:01 +05:30
1dd213bb04 waybar: Switch to using alacritty on click for cpu & memory block
We missed this in commit d763cc0f.
2020-11-15 22:39:01 +05:30
ed31ccec7a gitignore: Update to ignore some more generated files 2020-11-15 22:39:01 +05:30
715c031ac7 sway: Execute kanshi during start up to configure displays automatically 2020-11-14 19:33:24 +05:30
eb97b4a6f2 kanshi: Fix profile configuration
Profiles need to be mutually exclusive. eDP-1 is for the work laptop and
eDP1 is for the home laptop. Whenever we have our external Samsung
monitor connected, the laptop monitor should be disabled.
2020-11-14 19:28:00 +05:30