diff --git a/README.md b/README.md index afc74e2..46bfa3a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ sh install.sh # follow the instructions and install the files in the homedir ``` -# Dependency on `fzf` and ripgrep `rg` +## Dependency on `fzf` and ripgrep `rg` Both the shell configuration and vim make use of `fzf`. [fzf is a general-purpose command-line fuzzy finder](https://github.com/junegunn/fzf) and helps one 'grep' really fast through filenames. It's an alternative for the well-known `find`. Install it by cloning the repository and running the install script ([check the Installation notes too](https://github.com/junegunn/fzf#installation)). @@ -23,11 +23,19 @@ Both the shell configuration and vim make use of `fzf`. [fzf is a general-purpos If your distribution does not provide a package, [get yours from the releases page](https://github.com/BurntSushi/ripgrep/releases) (there's a .deb for 64-bit systems). -# Fix for shift+F6 in tmux (and screen probably) +## vim config + +The [.vimrc](https://github.com/aquatix/dotfiles/blob/master/.vimrc) has a lot going on. [Find out more about my tweaks](https://dammit.nl/tag/vim.html) and use `:Maps` in vim itself to see key mappings + +vim uses both `fzf` and `rg`, and also really likes having `ctags` (Exuberant Ctags) available. + + +## Fix for shift+F6 in tmux (and screen probably) In tmux, do `infocmp > screen-256color`. Add the line `kf16=\E[17;2~,` and compile the file with tic. This will result in `~/.terminfo/s/screen-256color` with the correct keycode for shift+F6. `.tmux.conf` needs the line `setw -g xterm-keys on` for it to register correctly. -# ~/.git_repos config file + +## ~/.git_repos config file The `update_repos` script takes the `~/.git_repos` config file and lets you update and clone your projects automatically (or at least in a batch). In the example the first four repos are located in ~/workspace/projects/github, and the other two in workspace/projects/others and workspace/projects/private respectively; then the workspace and group are empty, so mydocs is cloned into the homedir. At the moment, only paths relative to the user's homedir are supported. @@ -51,7 +59,8 @@ group= ssh://myserver/srv/git/mydocs.git ``` -# Interesting scripts + +## Interesting scripts | ./bin/ | description | |------------------|-----------------------------------------------------------------------------------------| @@ -60,7 +69,7 @@ ssh://myserver/srv/git/mydocs.git | clean_project | Remove compiled Python files, vim swp files | | clean_pyc | Remove compiled Python files | | fixpermissions | chmod dirs to 755, files to 644 | -| fixpictimestamps | Change file ctime to datetime from EXIF | +| fixpictimestamps | Change file ctime to datetime from EXIF using exiftool | | fontupdate | Update nerd-fonts; whole repo on server, link font files to ~/.local/share/fonts | | fuz | Simple note-taking 'app' based on FZF and vim | | git_autosave | Simple script to call from crontab or something to commit certain files in Git and push |