Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-08-31 15:07:30 +02:00
parent 7aec0a3941
commit 84d5c9740f
4 changed files with 1210 additions and 4 deletions

View File

@ -9,7 +9,7 @@
'(livedown-port 1337)
'(package-selected-packages
(quote
(ox-jira use-package switch-window ox-reveal markdown-mode magit htmlize dracula-theme))))
(dired-sidebar use-package switch-window ox-reveal ox-jira markdown-mode magit htmlize dracula-theme confluence))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.

View File

@ -78,6 +78,14 @@
:config
(load-theme 'dracula t))
;; Sitebar dirred
(use-package dired-sidebar
:ensure t
:commands (dired-sidebar-toggle-sidebar))
(require 'dired-sidebar)
(global-set-key (kbd "C-x d") 'dired-sidebar-toggle-sidebar)
;; Magit
(use-package magit
:ensure t

1195
.emacs.d/plugins/dired-sidebar.el Executable file

File diff suppressed because it is too large Load Diff

View File

@ -14,11 +14,13 @@ au BufWritePre * let &bex = '@' . strftime("%F.%H:%M")
" plugins
call plug#begin('~/.vim/plugged')
Plug 'preservim/nerdtree'
Plug 'vimwiki/vimwiki'
"Plug 'vimwiki/vimwiki'
Plug 'y0rune/vimwiki'
Plug 'nmante/vim-latex-live-preview'
Plug 'lervag/vimtex'
Plug 'junegunn/goyo.vim'
Plug 'jceb/vim-orgmode'
Plug 'tpope/vim-speeddating'
Plug 'prettier/vim-prettier', { 'do': 'npm install --force' }
Plug 'iamcco/markdown-preview.nvim', { 'do': 'npm install --force' }
" Problem with vim-prettier
@ -30,10 +32,10 @@ call plug#end()
" Vim wiki
let wiki = {}
let wiki.path = '~/git/notes/'
let wiki.path_html = '~/vimwiki_html/'
let wiki.path_html = '~/git/notes/www/'
let wiki.syntax = 'default'
let wiki.ext = '.wiki'
let wiki.text_ignore_newline = 0
let text_ignore_newline = 0
let g:vimwiki_list = [wiki]
let g:vimwiki_list_ignore_newline = 1
let g:vimwiki_table_mappings = 0
@ -141,3 +143,4 @@ au BufRead,BufNewFile *.md setlocal textwidth=80
" Auto add notes git
au BufRead,BufNewFile *.wiki setlocal textwidth=80
autocmd BufWritePost *.wiki execute '!git add % && git commit -m "Auto-commit: saved %" && git push' | redraw!
autocmd BufWritePost *.wiki :VimwikiAll2HTML