Commit graph

1612 commits

Author SHA1 Message Date
2985698bbc alacritty: Update configuration
We use kitty color scheme the same way we use for foot. Disable history
and scrollback since we now use tmux everywhere. opacity option has been
moved to window.
2022-04-05 17:41:49 +05:30
75ff0341f6 nvim: plugins: Add vim-dirvish-dovish 2022-04-05 17:41:49 +05:30
8a7567a8b1 Start tmux sessions using systemd
While starting the tmux sessions from fish worked some environment
variables were not getting picked up in tmux session.

For example DISPLAY is set after we log in and the graphical sway
session starts but since tmux sessions were started before that it
would be absent from the tmux session. We may be wrong about the
exact order and reasoning for this but atleast that is the observed
behaviour.

Fix this by defining a sway session target and making the tmux session
service dependent on it.
2022-04-04 18:07:50 +05:30
0ee7a4cd10 locale: Make sure we have a sane locale configuration
It is really annoying when a fresh install decides the locale should
be en_IN which is nonsense and annoying because it breaks rendering
of other symbols. Setting LANG seems not enough and some of the others
still default to en_IN. So explicitly set everything to en_US.UTF-8.
2022-04-03 14:32:45 +05:30
5b9818fabc gdb: Add our scripts directory to auto load path 2022-04-03 12:28:14 +05:30
bc5d78ee5f gdb: Add custom script for breakpoint with conditions on backtrace 2022-04-03 12:28:14 +05:30
bbb5057eb1 gdb: Migrate vo command to Python gdb script 2022-04-03 12:28:14 +05:30
55685b3084 fish: Make life easier by setting GST_DEBUG_DUMP_DOT_DIR globally 2022-04-03 09:30:00 +05:30
9fb93edb72 Revert "nvim: plugins: Add patchreview"
This reverts commit 0928a6e37e.
2022-04-03 08:54:34 +05:30
81fc328b4e nvim: after/plugin/fugitive: Only keep the diff window around
Somehow dirvish buffer opens along with diff window when using
this mapping. Use only to close any other windows in this tab.
2022-04-03 08:54:34 +05:30
aad3027a89 nvim: after/ftplugin/qf: Use leader key for colder/cnewer 2022-04-03 08:54:34 +05:30
2d17fe00ab nvim: autoload/git: Use difftool for review
The difftool version is actually useful since it populates the quickfix
list when the -y argument is not used. This gives rise to a possibility
where the quickfix list can be filtered to ignore or look only at files
we want.

While at it also add the version which opens each changed file in a tab
and gives a diffsplit view.
2022-04-03 08:53:46 +05:30
6ae7da9eca nvim: autoload/git: Introduce a difftool version for git diff 2022-04-02 17:21:23 +05:30
c95289343a nvim: autoload/git: Fix the arguments to diff
Not sure how we keep getting this wrong.
2022-04-02 11:04:13 +05:30
78d986ab26 nvim: plugin/shell: Add key mapping to run jq on visual selection
While at it, add some explanation to the functions for posterity.
2022-04-01 19:14:07 +05:30
8e851ef1a8 nvim: plugin/shell: Add key mapping to invoke ripgrep easily 2022-04-01 18:22:53 +05:30
0ea51e3d7e foot: Start in tmux by default in scratch session 2022-04-01 17:53:10 +05:30
e58ef83bc4 tmux/tmuxp: Update session files 2022-04-01 10:30:48 +05:30
59e7473bf3 fish: Add alias for difftastic as a difftool 2022-03-31 19:38:09 +05:30
2ca0beb1bf git: Add difftastic as a difftool option 2022-03-31 19:37:31 +05:30
856e8bccb7 foot: Change key mappings for scroll up down 2022-03-31 19:32:02 +05:30
d4a5bc933c nvim: plugin/shell: Allows getting shell command output in temp buffer
Taken from
https://stackoverflow.com/questions/10493452/vim-open-a-temporary-buffer-displaying-executables-output
2022-03-29 15:16:02 +05:30
8d44f5ced6 fish: functions/gdbt: Spawning GDB with tmux panes
Adapted from https://github.com/cyrus-and/gdb-dashboard/issues/63.
2022-03-29 15:16:02 +05:30
16448b27a5 gdb: Add an alias for info threads 2022-03-29 11:45:24 +05:30
ec6711a253 gdb: Remove source from the dashboard layout 2022-03-29 11:44:07 +05:30
77f28cf4ba fish: functions/rgc/rgf: Do not colourise ripgrep output
This allows us to drop having to run AnsiEsc.
2022-03-28 17:10:31 +05:30
9ebbd3640b nvim: after/plugin/fzf: BCommits also supports visual selection
BCommits supports visual selection of lines to track changes in
the range.
2022-03-27 19:26:36 +05:30
ab2d063759 fish: setup: Disable colouring in log and debug output for GStreamer 2022-03-27 19:26:17 +05:30
8d216bc1e6 fish: setup: Drop TERM setting for kitty 2022-03-27 18:16:10 +05:30
701bd244be Allow seamless navigation between vim and tmux splits 2022-03-27 16:12:08 +05:30
758e624b07 nvim: autocmd: Do not run AnsiEsc on loading of log files 2022-03-27 16:12:08 +05:30
1325929554 nvim: after/plugin/fzf: Use tmux popups when in tmux 2022-03-24 09:36:04 +05:30
7ad8a95d21 Revert "nvim: plugins: Switch to fzf-lua"
This reverts commit 447d4e50b5.

Switch back to fzf.vim as it supports tmux popups.
2022-03-24 09:16:50 +05:30
9352f12192 Revert "nvim: after/plugin/fzf-lua: Update actions for commits"
This reverts commit b10ba79940.

Reverting this as a step to bring back fzf.vim.
2022-03-24 09:16:50 +05:30
44e1389066 tmux: Use combined session & pane selector
Taken from
https://www.reddit.com/r/tmux/comments/rfae7o/navigate_sessions_windows_with_fzf/
2022-03-24 09:16:50 +05:30
8cc874b830 tmux: Add plugin to capture last command output 2022-03-24 09:16:50 +05:30
2ed668e2c1 nvim: Update packer 2022-03-24 09:16:50 +05:30
d9746a1c73 nvim: statusline: Decrease the truncation width for git status 2022-03-23 10:28:22 +05:30
a54cc1d3b7 i3status-rust: Add speed test block & update 2022-03-22 17:44:27 +05:30
81bf6122dc fish: functions: Use a new alias for verbose git status 2022-03-22 14:10:04 +05:30
44058d6ab5 tmuxp: Fix yaml lint warnings 2022-03-17 18:04:52 +05:30
086187834f tmux: Update status line 2022-03-17 17:50:11 +05:30
05468f86ba tmux: Drop unused key mapping 2022-03-17 17:30:08 +05:30
ac29090179 nvim: init: Fix copy and paste with clipboard when using tmux 2022-03-17 16:59:53 +05:30
9c9ab30bfd tmux: Change session selector 2022-03-17 09:44:16 +05:30
5ed0951392 fish: Start tmux sessions on login 2022-03-17 09:14:06 +05:30
f99925d532 fish: functions/ta: Rename to ta & allow selection via fzf 2022-03-17 09:03:21 +05:30
6fde5418c2 tmux: Add a script to start all required tmux sessions 2022-03-17 09:02:43 +05:30
3dd3d5c379 tmux: Drop continuum and resurrect
Now that we have sessions and loadable with tmuxp, drop continuum and
resurrect.
2022-03-16 20:28:25 +05:30
7db7bbfd4a tmuxp: Add session files loadable with tmuxp 2022-03-16 20:28:25 +05:30