aboutsummaryrefslogtreecommitdiffstats
path: root/tools/conf
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2016-09-22 02:10:51 +0100
committerSilvino Silva <silvino@bk.ru>2016-09-22 02:10:51 +0100
commit9741df07f44b23ce7ac66a55cef65fe6c9c45b37 (patch)
treeb8d1685b153540800b09ee0e331a65a2307d0b8a /tools/conf
parentbcc4fcdffbf886743838392034d1b037bc28a864 (diff)
downloaddoc-9741df07f44b23ce7ac66a55cef65fe6c9c45b37.tar.gz
final 0.2.1 revision
Diffstat (limited to 'tools/conf')
-rw-r--r--tools/conf/etc/skel/.mutt/muttrc34
-rw-r--r--tools/conf/etc/skel/.vimrc207
2 files changed, 108 insertions, 133 deletions
diff --git a/tools/conf/etc/skel/.mutt/muttrc b/tools/conf/etc/skel/.mutt/muttrc
index aa41d50..6ec1da4 100644
--- a/tools/conf/etc/skel/.mutt/muttrc
+++ b/tools/conf/etc/skel/.mutt/muttrc
@@ -13,32 +13,22 @@ set duplicate_threads=yes
set crypt_use_gpgme=yes
-set pgp_timeout=1800
+## automatically sign all outgoing messages
+set crypt_autosign=yes
-## sign only replies to signed messages
-set crypt_replysign=yes
+## automatically encrypt outgoing messages
+set crypt_autoencrypt=yes
-## encrypt and sign replies to encrypted messages
-set crypt_replysignencrypted=yes
+## automatically verify the sign of a message when opened
+set crypt_verify_sig=yes
-#source ~/.mutt/gpg.rc
-#
-#set pgp_autosign=yes
-#set pgp_sign_as=0xEE29B7D3
+set pgp_sign_as=0x8BF422F79FC7C975BDF07828E88440BC35095A74
+#set pgp_sign_as=0x8BF422F7
+set pgp_timeout=1800
+set pgp_autosign=yes
#set pgp_replyencrypt=yes
-#
-## automatically sign all outgoing messages
-#set crypt_autosign
-#
-## automatically encrypt outgoing messages
-##set crypt_autoencrypt=yes
-#
-## encrypt only replies to signed messages
-#set crypt_replyencrypt=yes
-#
-## automatically verify the sign of a message when opened
-#set crypt_verify_sig=yes
-#
+
+source ~/.mutt/gpg.rc
source "~/.mutt/mail_alias"
set alias_file=~/.mutt/mail_alias
diff --git a/tools/conf/etc/skel/.vimrc b/tools/conf/etc/skel/.vimrc
index cf143fd..9958538 100644
--- a/tools/conf/etc/skel/.vimrc
+++ b/tools/conf/etc/skel/.vimrc
@@ -1,26 +1,10 @@
-" An example for a vimrc file.
-"
-" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last change: 2015 Mar 24
-"
-" To use it, copy it to
-" for Unix and OS/2: ~/.vimrc
-" for Amiga: s:.vimrc
-" for MS-DOS and Win32: $VIM\_vimrc
-" for OpenVMS: sys$login:.vimrc
-
-" When started as "evim", evim.vim will already have done these settings.
-if v:progname =~? "evim"
- finish
-endif
-
" Use Vim settings, rather than Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
-" allow backspacing over everything in insert mode
-set backspace=indent,eol,start
-
+"" allow backspacing over everything in insert mode
+"set backspace=indent,eol,start
+"
if has("vms")
set nobackup " do not keep a backup file, use versions instead
else
@@ -33,118 +17,119 @@ set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch " do incremental searching
-" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
-" let &guioptions = substitute(&guioptions, "t", "", "g")
-
-" Don't use Ex mode, use Q for formatting
-map Q gq
-
-" CTRL-U in insert mode deletes a lot. Use CTRL-G u to first break undo,
-" so that you can undo CTRL-U after inserting a line break.
-inoremap <C-U> <C-G>u<C-U>
-
-" In many terminal emulators the mouse works just fine, thus enable it.
-if has('mouse')
- set mouse=a
-endif
-
-" Switch syntax highlighting on, when the terminal has colors
-" Also switch on highlighting the last used search pattern.
+"" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
+"" let &guioptions = substitute(&guioptions, "t", "", "g")
+"
+"" Don't use Ex mode, use Q for formatting
+"map Q gq
+"
+"" CTRL-U in insert mode deletes a lot. Use CTRL-G u to first break undo,
+"" so that you can undo CTRL-U after inserting a line break.
+"inoremap <C-U> <C-G>u<C-U>
+"
+"" In many terminal emulators the mouse works just fine, thus enable it.
+"if has('mouse')
+" set mouse=a
+"endif
+"
+"" Switch syntax highlighting on, when the terminal has colors
+"" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
colorscheme wombat256mod
endif
-" Only do this part when compiled with support for autocommands.
-if has("autocmd")
-
- " Enable file type detection.
- " Use the default filetype settings, so that mail gets 'tw' set to 72,
- " 'cindent' is on in C files, etc.
- " Also load indent files, to automatically do language-dependent indenting.
- filetype plugin indent on
-
- " Put these in an autocmd group, so that we can delete them easily.
- augroup vimrcEx
- au!
-
- " For all text files set 'textwidth' to 78 characters.
- autocmd FileType text setlocal textwidth=78
-
- " When editing a file, always jump to the last known cursor position.
- " Don't do it when the position is invalid or when inside an event handler
- " (happens when dropping a file on gvim).
- autocmd BufReadPost *
- \ if line("'\"") >= 1 && line("'\"") <= line("$") |
- \ exe "normal! g`\"" |
- \ endif
-
- augroup END
-
-else
-
- set autoindent " always set autoindenting on
-
-endif " has("autocmd")
-
-" Convenient command to see the difference between the current buffer and the
-" file it was loaded from, thus the changes you made.
-" Only define it when not defined already.
-if !exists(":DiffOrig")
- command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
- \ | wincmd p | diffthis
-endif
-
-if has('langmap') && exists('+langnoremap')
- " Prevent that the langmap option applies to characters that result from a
- " mapping. If unset (default), this may break plugins (but it's backward
- " compatible).
- set langnoremap
-endif
-
+"
+"" Only do this part when compiled with support for autocommands.
+"if has("autocmd")
+"
+" " Enable file type detection.
+" " Use the default filetype settings, so that mail gets 'tw' set to 72,
+" " 'cindent' is on in C files, etc.
+" " Also load indent files, to automatically do language-dependent indenting.
+" filetype plugin indent on
+"
+" " Put these in an autocmd group, so that we can delete them easily.
+" augroup vimrcEx
+" au!
+"
+" " For all text files set 'textwidth' to 78 characters.
+" autocmd FileType text setlocal textwidth=78
+"
+" " When editing a file, always jump to the last known cursor position.
+" " Don't do it when the position is invalid or when inside an event handler
+" " (happens when dropping a file on gvim).
+" autocmd BufReadPost *
+" \ if line("'\"") >= 1 && line("'\"") <= line("$") |
+" \ exe "normal! g`\"" |
+" \ endif
+"
+" augroup END
+"
+"else
+"
+" set autoindent " always set autoindenting on
+"
+"endif " has("autocmd")
+"
+"" Convenient command to see the difference between the current buffer and the
+"" file it was loaded from, thus the changes you made.
+"" Only define it when not defined already.
+"if !exists(":DiffOrig")
+" command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
+" \ | wincmd p | diffthis
+"endif
+"
+"if has('langmap') && exists('+langnoremap')
+" " Prevent that the langmap option applies to characters that result from a
+" " mapping. If unset (default), this may break plugins (but it's backward
+" " compatible).
+" set langnoremap
+"endif
+"
map <F2> :tabnew
map <F3> :tabprevious<CR>
map <F4> :tabnext<CR>
-
-" Show Line Numbers
+"
+"" Show Line Numbers
set nu
-set complete=.,b,u,]
-set wildmode=longest,list:longest
-set completeopt=menu,preview
-
-" Directories
+"set complete=.,b,u,]
+"set wildmode=longest,list:longest
+"set completeopt=menu,preview
+"
+"" Directories
set backupdir=~/.vim/backup
set undodir=~/.vim/undodir
set viewdir=~/.vim/views
set directory=~/.vim/swap
-
-" Spell Check
+"
+"" Spell Check
set spell spelllang=en_us
-
-" Strips whitespace
+"
+"" Strips whitespace
nnoremap <leader>W :%s/\s\+$//<cr>:let @/=''<CR>
-
-" Whitespace fixes
+"
+"" Whitespace fixes
highlight ExtraWhitespace ctermbg=red guibg=red
+
match ExtraWhitespace /\s\+$/
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
autocmd BufWinLeave * call clearmatches()
-
-
-" For tab characters that appear 4-spaces-wide
-set tabstop=4
-" If you're using actual tab character in your source code you probably also
-" want these settings (these are actually the defaults,set them defensively):
-set softtabstop=0 noexpandtab
-" Finally, if you want an indent to correspond to a single tab, you should also use:
-set shiftwidth=4
-" For indents that consist of 4 space characters but are entered with the tab key:
+"
+"
+"" For tab characters that appear 4-spaces-wide
+"set tabstop=4
+"" If you're using actual tab character in your source code you probably also
+"" want these settings (these are actually the defaults,set them defensively):
+"set softtabstop=0 noexpandtab
+"" Finally, if you want an indent to correspond to a single tab, you should also use:
+""set shiftwidth=4
+"" For indents that consist of 4 space characters but are entered with the tab key:
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
-set list
-" set past gives problems with tabs
-" set paste
-
-
+"set list
+"" set past gives problems with tabs
+"" set paste
+""