This commit is contained in:
Jeff Lance 2021-05-05 21:53:58 +02:00
parent 117181bd7c
commit 9758318169
3 changed files with 9 additions and 4 deletions

View File

@ -1,7 +1,7 @@
" File : keybindings.vim
" Author : Jeff LANCE <email@jefflance.me>
" Date : 15.04.2015
" Last Modified Date: 03.03.2021
" Last Modified Date: 05.05.2021
" Last Modified By : Jeff LANCE <email@jefflance.me>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@ -26,7 +26,8 @@ nnoremap <space> za
map <leader>s :echom 'Source file' <bar> :so %<cr>
" Two semicolons to escape
imap ;; <Esc>
map <leader>; <Esc>
map! <leader>; <Esc>
" Open a current file with sudo
" map <silent> <leader>E :e suda://%<cr>
@ -45,7 +46,7 @@ map <silent> <C-[> <<
map <silent> <C-u> uu
" Save as
map <C-s> :saveas<cr>
map <C-s> :saveas<space>
" -----
" }}}
@ -62,7 +63,7 @@ command! -bang -nargs=? -complete=dir Files
\ <bang>0
\ )
map <C-w> :echom 'Close buffer' <bar> :call BufClose()<cr>
map <C-o> :e
map <C-o> :e<space>
map <C-n> :Startify<cr>
map <C-PageDown> :bn<cr>
map <C-PageUp> :bp<cr>

View File

@ -136,6 +136,7 @@ Plug 'jdsimcoe/hyper.vim', { 'as': 'hyper' }
Plug 'jacoborus/tender.vim', { 'as': 'tender' }
Plug 'connorholyday/vim-snazzy', { 'as': 'snazzy' }
Plug 'hardcoreplayers/oceanic-material', { 'as': 'oceanic' }
Plug 'dylanaraps/wal.vim'
" Customization
Plug 'ryanoasis/vim-devicons'

View File

@ -28,8 +28,11 @@ function s:config_mail()
return [
\ { 'line': 'afew', 'cmd': 'edit ${HOME}/.config/afew/' },
\ { 'line': 'astroid', 'cmd': 'edit ${HOME}/.config/astroid/' },
\ { 'line': 'imapfilter', 'cmd': 'edit ${HOME}/.config/imapfilter' },
\ { 'line': 'imapnotify', 'cmd': 'edit ${HOME}/.config/imapnotify' },
\ { 'line': 'mbsync', 'cmd': 'edit ${HOME}/.mbsyncrc' },
\ { 'line': 'msmtp', 'cmd': 'edit ${HOME}/.msmtprc' },
\ { 'line': 'neomutt', 'cmd': 'edit ${HOME}/.config/neomutt' },
\ { 'line': 'notmuch config', 'cmd': 'edit ${HOME}/.notmuch-config' },
\ { 'line': 'notmuch dir', 'cmd': 'edit ${HOME}/Mail/.notmuch' },
\ ]