Commit graph

1629 commits

Author SHA1 Message Date
5c80b85d69 nvim: plugin/epoch-converter: Fix timestamp conversion helper
The epoch time under cursor may be in milliseconds or seconds. Use
visual selection to select epoch since we won't know which. Else when
the epoch was in milliseconds we would just get wrong results.
2022-04-15 11:09:29 +05:30
7e0060eacb nvim: after/ftplugin/fish: Add a key mapping to format with fish indent 2022-04-14 17:44:48 +05:30
2af3965179 fish: functions/rmdot: Add a helper to delete all dot files 2022-04-14 17:38:14 +05:30
61229a685b foot: Clean settings we do not modify 2022-04-14 16:43:03 +05:30
e6b71916e8 fish: functions/fish_prompt: Drop virtualfish
It increases the load time which is just annoying. Fuck Python
anyways.
2022-04-13 20:41:12 +05:30
8b827b49d2 tmux: Put the window list in relative centre 2022-04-13 20:29:56 +05:30
93110c3445 nvim: keymappings: Add mapping to resize splits 2022-04-12 20:06:51 +05:30
f7ab6b1532 nvim: after/plugin/fugitive: Automatically jump to the blame window
The blame window opens at the bottom of the current window by default.
Jump to it automatically.
2022-04-12 18:27:56 +05:30
0cc31e0c2f git-blame-ignore-revs: Ignore clean up with fish_indent 2022-04-12 18:27:56 +05:30
478fede9e4 fish: Clean up with fish_indent 2022-04-12 18:27:01 +05:30
6a6a8b4d2a git: Global blame settings 2022-04-12 18:26:44 +05:30
9eff2e764a nvim: after/plugin/gitsigns: Blame is not very helpful 2022-04-12 17:34:46 +05:30
fc7d824d99 git: Do not use nvim as pager
For big repositories, using neovim as pager slows down commands like
git log.
2022-04-12 12:31:45 +05:30
c06bee9cb3 fish: Add an alias to transcode mkv to mp4 2022-04-09 13:17:55 +05:30
30245370ca fish: Add helper aliases for ffprobe 2022-04-08 21:20:26 +05:30
21bf71d832 arch-packages: Update package list 2022-04-08 21:20:26 +05:30
d0ddb54ea5 foot: Update font configuration 2022-04-05 19:53:16 +05:30
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