add weerc and tmux.conf

This commit is contained in:
Hedy Li 2021-08-18 10:45:05 +08:00
parent 7bea819891
commit 4e1c9249a0
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
5 changed files with 76 additions and 4 deletions

View File

@ -38,7 +38,7 @@ else
set signcolumn=yes
endif
set termguicolors
set laststatus=2 " show status line

View File

@ -68,6 +68,6 @@ cnoremap <C-f> Format<cr>
command! ReloadConfig so $HOME/.config/nvim/init.vim
nnoremap <Leader>rc :ReloadConfig<cr>
" keep text sleected after indentation
" keep text selected after indentation
vnoremap < <gv
vnoremap > >gv

View File

@ -23,7 +23,9 @@ endif
Plug 'wakatime/vim-wakatime' " wakatime for vim
Plug 'SuneelFreimuth/vim-gemtext'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'hrsh7th/nvim-compe'
Plug 'neovim/nvim-lspconfig'
call plug#end()
"let g:dracula_colorterm = 0
@ -96,4 +98,6 @@ let g:NERDTreeGitStatusIndicatorMapCustom = {
nnoremap <leader>tt :TagbarToggle<CR>
let g:tagbar_width = 20
source $HOME/.config/nvim/coc.vim
" source $HOME/.config/nvim/coc.vim
lua require('lsp')
lua require('autocomplete')

27
.tmux.conf Normal file
View File

@ -0,0 +1,27 @@
# Quick ESC reponse in (n)vim
set -sg escape-time 0
set -g visual-activity off
# terminal stuff
# set -g default-terminal "tmux-256-color"
# set -g terminal-overrides ",xterm-256color*:Tc"
# Prefix for remote tmux (instead of C-b twice)
bind-key -n C-a send-prefix
# Splitting panes
bind-key v split-window -h
bind-key h split-window -v
# Titles
set -g set-titles on
set -g set-titles-string "#T"
# Plugins
set -g @plugin 'tmux-plugins/tmp' # plugin manager
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'wfxr/tmux-fzf-url' # fuzzy select url in buffer
#Initialize plugin manager
run -b '~/.local/share/tmux/plugins/tpm/tpm'

41
.weechat/.weerc Normal file
View File

@ -0,0 +1,41 @@
#
# WeeChat 3.2 (compiled on Jun 13 2021 08:57:57)
#
# Use /autoconf load or cat this file to the FIFO pipe.
#
# For more info, see https://weechat.org/scripts/source/autoconf.py.html
#
*/set weechat.look.day_change_message_1date "-- %d %b %Y --"
*/set weechat.look.day_change_message_2dates "-- %%d %%b %%Y (%d %b %Y) --"
*/set weechat.look.hotlist_names_merged_buffers on
*/set weechat.look.hotlist_prefix "H "
*/set weechat.look.hotlist_short_names off
*/set weechat.look.mouse on
*/set weechat.look.nick_prefix "<"
*/set weechat.look.nick_suffix ">"
*/set weechat.look.prefix_suffix ""
*/set weechat.completion.nick_completer ":"
*/set weechat.plugin.path "%h/plugins"
*/set weechat.bar.buflist.items "buflist"
*/set weechat.bar.fset.items "fset"
*/set weechat.bar.highmon.items "highmon"
*/set logger.look.backlog 1000
*/set logger.file.path "%h/logs/"
*/set buflist.format.hotlist_separator "${color:cyan},"
*/set fifo.file.path "%h/weechat_fifo"
*/set xfer.file.download_path "%h/xfer"
*/set irc.look.display_away off
*/set irc.look.server_buffer independent
*/set irc.look.smart_filter off
*/set irc.server_default.msg_quit "I rarely quits, so I'm most probably testing something"
*/set irc.server_default.realname "hedy"
*/set relay.color.status_active lightblue
*/set relay.color.status_auth_failed lightred
*/set relay.color.status_connecting yellow
*/set relay.color.status_waiting_auth brown
*/set relay.network.ssl_cert_key "%h/ssl/relay.pem"
*/set relay.irc.backlog_max_minutes 10080
*/set autosort.v3.helpers "{"core_first": "${if:${buffer.full_name}!=core.weechat}", "hashless_name": "${info:autosort_replace,#,,${info:autosort_escape,${buffer.name}}}", "irc_raw_first": "${if:${buffer.full_name}!=irc.irc_raw}", "irc_raw_last": "${if:${buffer.full_name}==irc.irc_raw}", "script_or_plugin": "${if:${script_name}?${script_name}:${plugin}}"}"
*/set script.scripts.download_enabled on
*/set script.scripts.path "%h/script"