diff --git a/.vim/spell/nl.utf-8.add b/.vim/spell/nl.utf-8.add index c6837a0..eac54e6 100644 --- a/.vim/spell/nl.utf-8.add +++ b/.vim/spell/nl.utf-8.add @@ -56,3 +56,4 @@ bapao bapao's thuiskantoor grilham +paasontbijt diff --git a/.vim/spell/nl.utf-8.add.spl b/.vim/spell/nl.utf-8.add.spl index 57c12b1..fac6f0b 100644 Binary files a/.vim/spell/nl.utf-8.add.spl and b/.vim/spell/nl.utf-8.add.spl differ diff --git a/.vimrc b/.vimrc index bc50575..77d4c17 100644 --- a/.vimrc +++ b/.vimrc @@ -296,6 +296,9 @@ Plugin 'reedes/vim-pencil' " 1 hard enter only, which can be annoying 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 "map :Goyo :Limelight!! :TogglePencil nmap V :Goyo :Limelight!! :TogglePencil diff --git a/README.md b/README.md index f3665e2..486461f 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,16 @@ 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 cd ~/.dot clone 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) @@ -17,7 +19,7 @@ In tmux, do `infocmp > screen-256color`. Add the line `kf16=\E[17;2~,` and compi # ~/.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 @@ -38,3 +40,20 @@ workspace= group= 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 |