Commit graph

269 commits

Author SHA1 Message Date
b11343b73a Add bats unit testing to repository
Will recursively look for `*.bats` files and run them with bats-core test suite. Simple sample unit tests for existing scripts are included in `.config/shell/rc.d/test`.
2019-07-27 11:42:54 +00:00
beb5f1c323 Rename alias & env setting shell scripts 2019-07-27 11:29:31 +02:00
b9441dc36d [vifm] Add icons for most used filetypes 2019-07-26 13:42:45 +02:00
6277ed1cf1 [tmux] Fix root directory setting command 2019-07-26 13:41:50 +02:00
590f430a09 Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2019-07-25 12:28:33 +02:00
eca508e230 [tmux] Notes session set vim root to notes dir 2019-07-25 12:28:00 +02:00
e4f444cfe5 Merge branch 'fix-ci-linting' into 'master'
Fix ci linting

See merge request marty-oehme/dotfiles!16
2019-07-24 09:47:15 +00:00
dd62216327 [gitlab] Remove unit testing CI for now 2019-07-24 11:37:59 +02:00
8d19ff9ffd [gitlab] Make CI output colorful 2019-07-24 11:33:57 +02:00
d7e8831423 Fix static analysis and lint errors 2019-07-24 11:32:04 +02:00
8494eda973 [nvim] Add shfmt and analysis to zsh files 2019-07-24 10:58:46 +02:00
bf23178314 [gitlab] Let shellcheck choose sh version 2019-07-24 10:55:01 +02:00
bedf7e18a9 Fix static analysis errors 2019-07-24 10:54:06 +02:00
05c189cfa4 Fix merge errors 2019-07-24 10:42:12 +02:00
ef73a11e51 Naive fixing of linter errors 2019-07-24 07:33:28 +02:00
21c40fa774 [gitlab] Use bash/posix style CI for .zsh/.sh files 2019-07-23 17:37:19 +02:00
7e302d8770 [dot] Remove legacy bootstrap install scripts 2019-07-23 16:56:38 +02:00
6e09ca47cb [gitlab] Fix sh linting in vim and pipeline 2019-07-23 16:50:30 +02:00
7f6b1d5c03 Merge branch '42-enable-linting-and-fixing-for-sh-files' into 'master'
Resolve "Enable linting and fixing for sh files"

Closes #42

See merge request marty-oehme/dotfiles!15
2019-07-23 14:45:41 +00:00
49a0723a09 [gitlab] Add simple CI pipeline for SH/ZSH scripts 2019-07-23 16:42:56 +02:00
2b8540f6cf [nvim] Remove golang-ci metalinter, rely on vim-go
vim-go already provides the linting necessary for golang. Using
golang-ci additionally only complicates matters and provides no benefit.
Additionally, it did not seem to be able to track files other than the
one in the current buffer, or those open in hidden buffers and would
show (false) errors of classes or functions not found even when they
existed.
2019-07-23 15:41:23 +02:00
3b710baecc [tmux] Fix session management debug printing
Fixes printing messages only needed for debug. Names session ending with
.session instead of the deprecated .config
2019-07-17 10:48:19 +02:00
7d414b294c [tmux] Add notes default session file
Called with `tm notes.session`. Calls up a vifm instance pointed to the
notes directory, and a vim session pointed to the notes index file.
2019-07-17 10:47:08 +02:00
c9e3b917f2 Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2019-07-16 21:17:57 +02:00
1fafcaadc4 Add dotfile configuration session
Invoked with `tm dot.session`. Contains a git window watching the
dotfiles status, diff, and a git log of recent commits. Contains a
window with vim. Contains a third window to test out the resulting dot
commands. Kept simple and clean.
2019-07-16 21:17:04 +02:00
02cbb2e9db Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2019-07-16 18:29:53 +02:00
f84b389730 Merge branch '41-add-tmux-session-management' into 'master'
Resolve "Add tmux session management"

Closes #41

See merge request marty-oehme/dotfiles!13
2019-07-16 16:08:35 +00:00
4668849a4f Add italics in vim
Italicizes comments and anything which should be italicized in text
(e.g. markdown *star-surrounded* words). Might lead to errors in ssh
connections, will have to test.
2019-07-16 13:13:48 +02:00
c581e72110 Add yanking filepath/dir from vifm to clipboard
Use yd for directory, yf for file path, yn for file name (without full
path), yr for yanking the root of current filename. Makes use of xclip
to work.
2019-07-16 13:12:01 +02:00
c42625f4be Add toggleable color schemes to alacritty 2019-07-16 09:46:15 +02:00
2e9bda1fd6 [vifm] Add zathura association to .epub files 2019-07-12 14:02:50 +02:00
f3c89aa1e3 Add golang linters to vim 2019-07-11 09:01:00 +02:00
22e9309e85 Remove duplicate readme entries 2019-07-11 09:00:20 +02:00
4e3cc2342a Add default session root dir to tm 2019-07-10 13:48:44 +02:00
27af1cc7fa Add looking for .tmux.session files in pwd
If no explicit session file is passed in and a new session is being
created tm will look for a .tmux.session file in the pwd and use that to
set up the session.
2019-07-10 13:21:44 +02:00
6fcf2a750e Always execute session setup
Even if session already exists, if we explicitly pass along a session
file, we should execute it.
2019-07-10 13:09:17 +02:00
1ac168ccb0 Extend tm script to allow session file loading
With the `tm script.conf session-name` format, or `tm script.conf`
format, it now allows setting up pre-defined session setups to be loaded
by tmux.
2019-07-10 12:19:02 +02:00
ea7e3635fe Automate initial tmux plugin installation 2019-07-08 22:06:56 +02:00
6f2f130212 Add golangci linter to vim through ale 2019-07-08 22:06:25 +02:00
95c3305cbb Allow entering vifm in pwd with vmm alias
vifm enters last open dirs by default. vmm alias opens vifm with the pwd
as the opened dir instead. Passing along arbitrary paths to vm also
opens vifm there.
2019-07-08 22:04:52 +02:00
a736a107df Add keymappings to vifm: sync panes, hide dotfiles
Set the current pane to the other pane with <c-y>. Hide dotfiles with zc
(zm still works) to mimic the vim behavior.
2019-07-04 10:33:16 +02:00
942d7798e4 Merge branch '38-make-vifm-display-image-video-pdf-previews' into 'master'
Resolve "Make vifm display image/video/pdf previews"

Closes #38

See merge request marty-oehme/dotfiles!12
2019-07-04 08:31:20 +00:00
ef7c6ba8c8 Enable vifm image previews 2019-07-04 10:30:24 +02:00
62610c82c5 Add vim folds to vifmrc file 2019-07-04 08:19:16 +02:00
f932aa4b97 Merge branch '37-replace-ranger-with-vifm' into 'master'
Resolve "Replace ranger with vifm"

Closes #37

See merge request marty-oehme/dotfiles!11
2019-07-03 20:29:35 +00:00
9df014fa62 Replace rifle with xdg-open for fuzzy file opening
rifle is going away soon with ranger being replaced by vifm in these
dotfiles. To be prepared, and make them more universal, the fuzzy file
finder uses xdg-open to open any files.
2019-07-03 22:27:57 +02:00
bf28f2067d Add first draft of vifm configuration 2019-07-03 22:24:01 +02:00
730ba80502 Update README to announce its out-of-date-dness 2019-07-03 21:07:17 +02:00
f16bdd0c7b Add default vifmrc 2019-07-03 16:23:25 +02:00
9a1617b78a Add go configuration to vim
added vim-go plugin and assorted mappings for tests, navigation, running
and documenting go files
2019-07-03 11:49:24 +02:00