diff options
author | Urbain Vaes <urbain@vaes.uk> | 2014-11-20 14:53:21 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2014-11-20 14:53:21 +0000 |
commit | dc6c8cd776156a459fae5faf39462aa3e028ff92 (patch) | |
tree | 2298656564bb35a2ce82999d577276ef763abbae | |
parent | 95daf63a89899a87f86e9bd0fc693475af923ca1 (diff) |
nothing much
-rw-r--r-- | mutt/muttrc | 4 | ||||
-rw-r--r-- | vim/vimrc | 22 | ||||
-rw-r--r-- | vim/vimundo | 0 |
3 files changed, 14 insertions, 12 deletions
diff --git a/mutt/muttrc b/mutt/muttrc index 8de7b7c..7811ff2 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -39,6 +39,10 @@ mailboxes +Main/Main \ +Main/Sent \ +Main/Drafts \ +# Prompts +set delete = yes +set quit = yes + # Encryption source /usr/share/doc/mutt/examples/gpg.rc set pgp_use_gpg_agent = yes @@ -1,4 +1,4 @@ -" Required by Vundle +"" Required by Vundle set nocompatible filetype off set rtp+=~/.vim/bundle/vundle/ @@ -111,7 +111,7 @@ set incsearch set noswapfile set nowritebackup set undofile -set undodir=/home/urbain/.vimundo/ +set undodir=/home/urbain/.vim/vimundo/ " Layout window set nonumber @@ -169,23 +169,21 @@ autocmd! BufNewFile,BufRead,BufWrite * :call UpdateColorscheme() "" Custom mappings -" Definition of leader and localleader +" Leader maps let mapleader = "\\" let maplocalleader = "-" - -" Leader maps nmap <Space> <Leader> -nmap <Leader>p <c-p> -nmap <Leader>t <c-w> + +" General +nnoremap <Leader>te :tabedit +nnoremap <Leader>tn :tabnew<cr> +nnoremap <Leader>to :tabonly<cr> +nnoremap <Leader>w :w<cr> +nnoremap <Leader>q :q!<cr> nnoremap <Leader>h :set hlsearch!<cr> nnoremap <Leader>n :set relativenumber!<cr> -nnoremap <Leader>q :q!<cr> nnoremap <Leader>sv :source ~/.vim/vimrc<cr> nnoremap <Leader>sc :source % -nnoremap <Leader>w :w<cr> -nnoremap <Leader>te :tabedit -nnoremap <Leader>tn :tabnew<cr> -nnoremap <Leader>to :tabonly<cr> " Other maps nnoremap <Return> o<Esc> diff --git a/vim/vimundo b/vim/vimundo new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/vim/vimundo |