diff --git a/.notion/cfg_notioncore.lua b/.notion/cfg_notioncore.lua index 07ce574..1db73df 100644 --- a/.notion/cfg_notioncore.lua +++ b/.notion/cfg_notioncore.lua @@ -194,10 +194,10 @@ defbindings("WMPlex.toplevel", { -- bdoc("Zumhotface from buffer."), -- kpress(META.."X", -- "ioncore.exec_on(_, 'zhfclip')"), - -- - -- bdoc("Zumhotface screen."), - -- kpress(META.."Print", - -- "ioncore.exec_on(_, 'zhfscreen')"), + + bdoc("Save screenshot."), + kpress(META.."Print", + "ioncore.exec_on(_, '/home/kressh/bin/screenshot-fs')"), bdoc("Query for file to view."), kpress(META.."F3", @@ -380,6 +380,7 @@ defbindings("WMoveresMode", { defmenu("mainmenu", { menuentry("Run...", "mod_query.query_exec(_)"), menuentry("Terminal", "mod_query.exec_on_merr(_, XTERM or 'urxvt')"), + menuentry("Shrug", "mod_query.exec_on_merr(_, shrugger)"), menuentry("Lock screen", "notioncore.exec_on(_, 'locker')"), menuentry("Help", "mod_query.query_man(_)"), diff --git a/.nvimrc b/.nvimrc index c159c1b..5bd4200 100644 --- a/.nvimrc +++ b/.nvimrc @@ -12,6 +12,7 @@ Plugin 'tpope/vim-fugitive' " Autocomplete Plugin 'Shougo/deoplete.nvim' +Plugin 'jiangmiao/auto-pairs' " Plugin 'Valloric/YouCompleteMe' " Plugin 'Shougo/unite.vim' " Plugin 'ervandew/supertab' @@ -108,6 +109,9 @@ let g:vimwiki_hl_headers = 1 let g:vimwiki_hl_cb_checked = 1 let g:vimwiki_ext2syntax = {'.md': 'markdown', '.mkd': 'markdown', '.wiki': 'media'} +" Disable markdown syntax concealing +let g:vimwiki_conceallevel=0 + " NERD Commenter " Add spaces after comment delimiters by default let g:NERDSpaceDelims = 1 @@ -167,7 +171,7 @@ smap neosnippet#expandable_or_jumpable() ? " For conceal markers. if has('conceal') - set conceallevel=2 concealcursor=niv + set conceallevel=0 concealcursor=niv endif " Enable snipMate compatibility feature. @@ -253,7 +257,6 @@ au BufRead,BufNewFile *.rabl setf ruby au BufRead,BufNewFile *.arb setf ruby au BufRead,BufNewFile *.axlsx setf ruby au BufRead,BufNewFile *.tag setf coffee " riotjs tags -au BufRead,BufNewFile *.vue setf coffee " riotjs tags " silent! nmap :FufLine " silent! nmap :FufCoverageFile @@ -265,9 +268,14 @@ let g:airline_theme = 'solarized' let g:airline_powerline_fonts = 1 " let g:airline_left_sep = '▶' " Set custom left separator " let g:airline_right_sep = '◀' " Set custom right separator -" let g:airline#extensions#tabline#enabled = 1 " Enable airline for tab-bar +let g:airline#extensions#tabline#enabled = 1 " Enable airline for tab-bar " let g:airline#extensions#tabline#show_buffers = 0 " Don't display buffers in tab-bar with single tab -"let g:airline#extensions#tabline#fnamemod = ':t' " Display only filename in tab +" let g:airline#extensions#tabline#fnamemod = ':t' " Display only filename in tab + +" Buffer/Tab navigation like Firefox. +nnoremap h :bp +nnoremap l :bn +nnoremap d :bd " Vim gitgutter let g:gitgutter_sign_added = '█' @@ -280,6 +288,7 @@ let g:ctrlp_map = '' let g:ctrlp_cmd = 'CtrlP' let g:ctrlp_custom_ignore = '\v(node_modules|vendor\/bundle)$' let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard'] +let g:ctrlp_dont_split = 'NERD' " Vim maximizer let g:maximizer_default_mapping_key = ''