1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-07 05:45:11 +01:00

Merge branch 'master' of git@github.com:aquatix/dotfiles.git

This commit is contained in:
root
2018-03-28 08:47:52 +02:00
4 changed files with 26 additions and 3 deletions

View File

@@ -56,3 +56,4 @@ bapao
bapao's bapao's
thuiskantoor thuiskantoor
grilham grilham
paasontbijt

Binary file not shown.

3
.vimrc
View File

@@ -296,6 +296,9 @@ Plugin 'reedes/vim-pencil'
" 1 hard enter only, which can be annoying " 1 hard enter only, which can be annoying
let g:pencil#autoformat = 0 let g:pencil#autoformat = 0
" Do not insert hard line breaks in the middle of a sentence
let g:pencil#wrapModeDefault = 'soft' " default is 'hard'
" Toggle Gogo with Limelight and Pencil together with Ctrl+F11 " Toggle Gogo with Limelight and Pencil together with Ctrl+F11
"map <C-F11> :Goyo <bar> :Limelight!! <bar> :TogglePencil <CR> "map <C-F11> :Goyo <bar> :Limelight!! <bar> :TogglePencil <CR>
nmap <leader>V :Goyo <bar> :Limelight!! <bar> :TogglePencil <CR> nmap <leader>V :Goyo <bar> :Limelight!! <bar> :TogglePencil <CR>

View File

@@ -1,14 +1,16 @@
dotfiles dotfiles
======== ========
After having my homedirs in subversion for years, move to Git. After having my homedirs in subversion for years, moved this collection to Git in 2014 and standardised over all my machines.
To install:
``` ```
mkdir ~/.dot mkdir ~/.dot
cd ~/.dot cd ~/.dot
clone <url> clone <url>
cd dotfiles # this takes you to the freshly cloned ~/.dot/dotfiles cd dotfiles # this takes you to the freshly cloned ~/.dot/dotfiles
sh install.sh # install the files in the homedir sh install.sh # follow the instructions and install the files in the homedir
``` ```
# Fix for shift+F6 in tmux (and screen probably) # Fix for shift+F6 in tmux (and screen probably)
@@ -17,7 +19,7 @@ In tmux, do `infocmp > screen-256color`. Add the line `kf16=\E[17;2~,` and compi
# ~/.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. 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.
``` ```
workspace=workspace/projects workspace=workspace/projects
@@ -38,3 +40,20 @@ workspace=
group= group=
ssh://myserver/srv/git/mydocs.git ssh://myserver/srv/git/mydocs.git
``` ```
# Interesting scripts
| ./bin/ | description |
|------------------|-----------------------------------------------------------------------------------------|
| calibre_update | Update (or install) ebook manager Calibre |
| clean_mac_files | Remove those DS_Store and other dirs |
| 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 |
| 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 |
| git_clean | Clean the Git tree |
| sorter | Sort files in newly created subdirectories, based on pre- or postfixes |
| update_repos | Update a bunch of Git repos at once, like all your project. Config with ~/.git_repos |