Update
This commit is contained in:
parent
c27e4373d1
commit
a6a2a06961
@ -19,48 +19,54 @@ local db = require('dashboard')
|
|||||||
-- db.center_pad -- number type default is 1
|
-- db.center_pad -- number type default is 1
|
||||||
-- db.footer_pad -- number type default is 1
|
-- db.footer_pad -- number type default is 1
|
||||||
|
|
||||||
local dotfiles = home .. '/dotfiles'
|
local dotfiles = '\'' .. home .. '/dotfiles\''
|
||||||
|
|
||||||
db.custom_header = {
|
db.preview_command = 'cat | lolcat'
|
||||||
'',
|
db.preview_file_path = home .. '/.config/nvim/header1.cat'
|
||||||
' ⣿⣿⣷⡁⢆⠈⠕⢕⢂⢕⢂⢕⢂⢔⢂⢕⢄⠂⣂⠂⠆⢂⢕⢂⢕⢂⢕⢂⢕⢂ ',
|
db.preview_file_height = 16
|
||||||
' ⣿⣿⣿⡷⠊⡢⡹⣦⡑⢂⢕⢂⢕⢂⢕⢂⠕⠔⠌⠝⠛⠶⠶⢶⣦⣄⢂⢕⢂⢕ ',
|
db.preview_file_width = 32
|
||||||
' ⣿⣿⠏⣠⣾⣦⡐⢌⢿⣷⣦⣅⡑⠕⠡⠐⢿⠿⣛⠟⠛⠛⠛⠛⠡⢷⡈⢂⢕⢂ ',
|
|
||||||
' ⠟⣡⣾⣿⣿⣿⣿⣦⣑⠝⢿⣿⣿⣿⣿⣿⡵⢁⣤⣶⣶⣿⢿⢿⢿⡟⢻⣤⢑⢂ ',
|
-- db.custom_header = {
|
||||||
' ⣾⣿⣿⡿⢟⣛⣻⣿⣿⣿⣦⣬⣙⣻⣿⣿⣷⣿⣿⢟⢝⢕⢕⢕⢕⢽⣿⣿⣷⣔ ',
|
-- '',
|
||||||
' ⣿⣿⠵⠚⠉⢀⣀⣀⣈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣗⢕⢕⢕⢕⢕⢕⣽⣿⣿⣿⣿ ',
|
-- ' ⣿⣿⣷⡁⢆⠈⠕⢕⢂⢕⢂⢕⢂⢔⢂⢕⢄⠂⣂⠂⠆⢂⢕⢂⢕⢂⢕⢂⢕⢂ ',
|
||||||
' ⢷⣂⣠⣴⣾⡿⡿⡻⡻⣿⣿⣴⣿⣿⣿⣿⣿⣿⣷⣵⣵⣵⣷⣿⣿⣿⣿⣿⣿⡿ ',
|
-- ' ⣿⣿⣿⡷⠊⡢⡹⣦⡑⢂⢕⢂⢕⢂⢕⢂⠕⠔⠌⠝⠛⠶⠶⢶⣦⣄⢂⢕⢂⢕ ',
|
||||||
' ⢌⠻⣿⡿⡫⡪⡪⡪⡪⣺⣿⣿⣿⣿⣿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃ ',
|
-- ' ⣿⣿⠏⣠⣾⣦⡐⢌⢿⣷⣦⣅⡑⠕⠡⠐⢿⠿⣛⠟⠛⠛⠛⠛⠡⢷⡈⢂⢕⢂ ',
|
||||||
' ⠣⡁⠹⡪⡪⡪⡪⣪⣾⣿⣿⣿⣿⠋⠐⢉⢍⢄⢌⠻⣿⣿⣿⣿⣿⣿⣿⣿⠏⠈ ',
|
-- ' ⠟⣡⣾⣿⣿⣿⣿⣦⣑⠝⢿⣿⣿⣿⣿⣿⡵⢁⣤⣶⣶⣿⢿⢿⢿⡟⢻⣤⢑⢂ ',
|
||||||
' ⡣⡘⢄⠙⣾⣾⣾⣿⣿⣿⣿⣿⣿⡀⢐⢕⢕⢕⢕⢕⡘⣿⣿⣿⣿⣿⣿⠏⠠⠈ ',
|
-- ' ⣾⣿⣿⡿⢟⣛⣻⣿⣿⣿⣦⣬⣙⣻⣿⣿⣷⣿⣿⢟⢝⢕⢕⢕⢕⢽⣿⣿⣷⣔ ',
|
||||||
' ⠌⢊⢂⢣⠹⣿⣿⣿⣿⣿⣿⣿⣿⣧⢐⢕⢕⢕⢕⢕⢅⣿⣿⣿⣿⡿⢋⢜⠠⠈ ',
|
-- ' ⣿⣿⠵⠚⠉⢀⣀⣀⣈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣗⢕⢕⢕⢕⢕⢕⣽⣿⣿⣿⣿ ',
|
||||||
' ⠄⠁⠕⢝⡢⠈⠻⣿⣿⣿⣿⣿⣿⣿⣷⣕⣑⣑⣑⣵⣿⣿⣿⡿⢋⢔⢕⣿⠠⠈ ',
|
-- ' ⢷⣂⣠⣴⣾⡿⡿⡻⡻⣿⣿⣴⣿⣿⣿⣿⣿⣿⣷⣵⣵⣵⣷⣿⣿⣿⣿⣿⣿⡿ ',
|
||||||
' ⠨⡂⡀⢑⢕⡅⠂⠄⠉⠛⠻⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢋⢔⢕⢕⣿⣿⠠⠈ ',
|
-- ' ⢌⠻⣿⡿⡫⡪⡪⡪⡪⣺⣿⣿⣿⣿⣿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃ ',
|
||||||
' ⠄⠪⣂⠁⢕⠆⠄⠂⠄⠁⡀⠂⡀⠄⢈⠉⢍⢛⢛⢛⢋⢔⢕⢕⢕⣽⣿⣿⠠⠈ ',
|
-- ' ⠣⡁⠹⡪⡪⡪⡪⣪⣾⣿⣿⣿⣿⠋⠐⢉⢍⢄⢌⠻⣿⣿⣿⣿⣿⣿⣿⣿⠏⠈ ',
|
||||||
'',
|
-- ' ⡣⡘⢄⠙⣾⣾⣾⣿⣿⣿⣿⣿⣿⡀⢐⢕⢕⢕⢕⢕⡘⣿⣿⣿⣿⣿⣿⠏⠠⠈ ',
|
||||||
}
|
-- ' ⠌⢊⢂⢣⠹⣿⣿⣿⣿⣿⣿⣿⣿⣧⢐⢕⢕⢕⢕⢕⢅⣿⣿⣿⣿⡿⢋⢜⠠⠈ ',
|
||||||
|
-- ' ⠄⠁⠕⢝⡢⠈⠻⣿⣿⣿⣿⣿⣿⣿⣷⣕⣑⣑⣑⣵⣿⣿⣿⡿⢋⢔⢕⣿⠠⠈ ',
|
||||||
|
-- ' ⠨⡂⡀⢑⢕⡅⠂⠄⠉⠛⠻⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢋⢔⢕⢕⣿⣿⠠⠈ ',
|
||||||
|
-- ' ⠄⠪⣂⠁⢕⠆⠄⠂⠄⠁⡀⠂⡀⠄⢈⠉⢍⢛⢛⢛⢋⢔⢕⢕⢕⣽⣿⣿⠠⠈ ',
|
||||||
|
-- '',
|
||||||
|
-- }
|
||||||
|
|
||||||
db.custom_center = {
|
db.custom_center = {
|
||||||
{
|
{
|
||||||
icon = nil,
|
icon = nil,
|
||||||
desc = 'Nouveau fichier ',
|
desc = 'Nouveau fichier ',
|
||||||
action = 'DashboardNewFile',
|
action = 'DashboardNewFile',
|
||||||
shortcut = 'SPC f n'
|
shortcut = ';fn'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
desc = 'Trouver un fichier ',
|
desc = 'Trouver un fichier ',
|
||||||
action = "lua require('telescope.builtin').find_files()",
|
action = "lua require('telescope.builtin').find_files()",
|
||||||
shortcut = 'SPC f f'
|
shortcut = ';ff'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
desc = 'Fichiers récemment ouverts ',
|
desc = 'Fichiers récemment ouverts ',
|
||||||
action = "lua require('telescope.builtin').oldfiles()",
|
action = "lua require('telescope.builtin').oldfiles()",
|
||||||
shortcut = 'SPC f h'
|
shortcut = ';fo'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
desc = 'Parcourir les dotfiles ',
|
desc = 'Parcourir les dotfiles ',
|
||||||
action = "lua require('telescope.builtin').find_files({ cwd = \'" .. dotfiles .. "\' })",
|
-- action = "lua require('telescope.builtin').find_files({ cwd = " .. dotfiles .. " })",
|
||||||
shortcut = 'SPC f d'
|
action = 'Telescope dotfiles path=' .. dotfiles,
|
||||||
|
shortcut = ';fd'
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
16
conf.d/nvim/header1.cat
Normal file
16
conf.d/nvim/header1.cat
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
⣿⣿⣷⡁⢆⠈⠕⢕⢂⢕⢂⢕⢂⢔⢂⢕⢄⠂⣂⠂⠆⢂⢕⢂⢕⢂⢕⢂⢕⢂
|
||||||
|
⣿⣿⣿⡷⠊⡢⡹⣦⡑⢂⢕⢂⢕⢂⢕⢂⠕⠔⠌⠝⠛⠶⠶⢶⣦⣄⢂⢕⢂⢕
|
||||||
|
⣿⣿⠏⣠⣾⣦⡐⢌⢿⣷⣦⣅⡑⠕⠡⠐⢿⠿⣛⠟⠛⠛⠛⠛⠡⢷⡈⢂⢕⢂
|
||||||
|
⠟⣡⣾⣿⣿⣿⣿⣦⣑⠝⢿⣿⣿⣿⣿⣿⡵⢁⣤⣶⣶⣿⢿⢿⢿⡟⢻⣤⢑⢂
|
||||||
|
⣾⣿⣿⡿⢟⣛⣻⣿⣿⣿⣦⣬⣙⣻⣿⣿⣷⣿⣿⢟⢝⢕⢕⢕⢕⢽⣿⣿⣷⣔
|
||||||
|
⣿⣿⠵⠚⠉⢀⣀⣀⣈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣗⢕⢕⢕⢕⢕⢕⣽⣿⣿⣿⣿
|
||||||
|
⢷⣂⣠⣴⣾⡿⡿⡻⡻⣿⣿⣴⣿⣿⣿⣿⣿⣿⣷⣵⣵⣵⣷⣿⣿⣿⣿⣿⣿⡿
|
||||||
|
⢌⠻⣿⡿⡫⡪⡪⡪⡪⣺⣿⣿⣿⣿⣿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃
|
||||||
|
⠣⡁⠹⡪⡪⡪⡪⣪⣾⣿⣿⣿⣿⠋⠐⢉⢍⢄⢌⠻⣿⣿⣿⣿⣿⣿⣿⣿⠏⠈
|
||||||
|
⡣⡘⢄⠙⣾⣾⣾⣿⣿⣿⣿⣿⣿⡀⢐⢕⢕⢕⢕⢕⡘⣿⣿⣿⣿⣿⣿⠏⠠⠈
|
||||||
|
⠌⢊⢂⢣⠹⣿⣿⣿⣿⣿⣿⣿⣿⣧⢐⢕⢕⢕⢕⢕⢅⣿⣿⣿⣿⡿⢋⢜⠠⠈
|
||||||
|
⠄⠁⠕⢝⡢⠈⠻⣿⣿⣿⣿⣿⣿⣿⣷⣕⣑⣑⣑⣵⣿⣿⣿⡿⢋⢔⢕⣿⠠⠈
|
||||||
|
⠨⡂⡀⢑⢕⡅⠂⠄⠉⠛⠻⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢋⢔⢕⢕⣿⣿⠠⠈
|
||||||
|
⠄⠪⣂⠁⢕⠆⠄⠂⠄⠁⡀⠂⡀⠄⢈⠉⢍⢛⢛⢛⢋⢔⢕⢕⢕⣽⣿⣿⠠⠈
|
||||||
|
|
@ -64,9 +64,12 @@ map <C-s> :saveas<space>
|
|||||||
" \ )
|
" \ )
|
||||||
command -bang CloseBuffer :call CloseBuffer()
|
command -bang CloseBuffer :call CloseBuffer()
|
||||||
|
|
||||||
map <C-w> :echom 'Close buffer' <bar> :CloseBuffer!<cr>
|
map <Leader>ff <cmd>lua require('telescope.builtin').find_files()<cr>
|
||||||
|
map <Leader>fd <cmd>lua require('telescope.builtin').find_files({ cwd = '/home/jeff/dotfiles' })<cr>
|
||||||
|
map <Leader>fo <cmd>lua require('telescope.builtin').oldfiles()<cr>
|
||||||
|
map <Leader>cn :echom 'Nouveau buffer' <bar> :DashboardNewFile<cr>
|
||||||
map <C-o> :e<space>
|
map <C-o> :e<space>
|
||||||
map <C-n> :DashboardNewFile<cr>
|
map <C-w> :echom 'Fermeture buffer' <bar> :CloseBuffer!<cr>
|
||||||
map <A-PageDown> :bn<cr>
|
map <A-PageDown> :bn<cr>
|
||||||
map <A-PageUp> :bp<cr>
|
map <A-PageUp> :bp<cr>
|
||||||
|
|
||||||
@ -91,22 +94,11 @@ map <C-l> :call WinMove('l')<cr>
|
|||||||
|
|
||||||
nmap <Leader>ss :<C-u>SessionSave<CR>
|
nmap <Leader>ss :<C-u>SessionSave<CR>
|
||||||
nmap <Leader>sl :<C-u>SessionLoad<CR>
|
nmap <Leader>sl :<C-u>SessionLoad<CR>
|
||||||
nnoremap <silent> <Leader>fh :DashboardFindHistory<CR>
|
|
||||||
nnoremap <silent> <Leader>ff <cmd>lua require('telescope.builtin').find_files()<cr>
|
|
||||||
nnoremap <silent> <Leader>tc :DashboardChangeColorscheme<CR>
|
|
||||||
nnoremap <silent> <Leader>fa :DashboardFindWord<CR>
|
|
||||||
nnoremap <silent> <Leader>fb :DashboardJumpMark<CR>
|
|
||||||
nnoremap <silent> <Leader>cn :DashboardNewFile<CR>
|
|
||||||
|
|
||||||
" -----
|
" -----
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
|
||||||
" Find file {{{
|
|
||||||
" -----
|
|
||||||
|
|
||||||
map <C-f> <cmd>lua require('telescope.builtin').find_files()<cr>
|
|
||||||
|
|
||||||
" -----
|
" -----
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
@ -128,18 +128,34 @@ bindkey -M vicmd 'j' history-substring-search-down
|
|||||||
|
|
||||||
# >>> tmux initialization >>>
|
# >>> tmux initialization >>>
|
||||||
#
|
#
|
||||||
# if [[ $DISPLAY ]]; then
|
# if [ -z "$TMUX" ]; then
|
||||||
# # If not running interactively, do not do anything
|
# # we're not in a tmux session
|
||||||
# [[ $- != *i* ]] && return
|
|
||||||
|
|
||||||
# if [[ -z "$TMUX" ]] ;then
|
# if [ ! -z "$SSH_TTY" ]; then
|
||||||
# ID="$( tmux ls | grep -vm1 attached | cut -d: -f1 )" # get the id of a deattached session
|
# # We logged in via SSH
|
||||||
# if [[ -z "$ID" ]] ;then # if not available create a new one
|
|
||||||
# tmux new-session
|
# # if ssh auth variable is missing
|
||||||
# else
|
# if [ -z "$SSH_AUTH_SOCK" ]; then
|
||||||
# tmux attach-session -t "$ID" # if available attach to it
|
# export SSH_AUTH_SOCK="$HOME/.ssh/.auth_socket"
|
||||||
# fi
|
# fi
|
||||||
# fi
|
|
||||||
|
# # if socket is available create the new auth session
|
||||||
|
# if [ ! -S "$SSH_AUTH_SOCK" ]; then
|
||||||
|
# `ssh-agent -a $SSH_AUTH_SOCK` > /dev/null 2>&1
|
||||||
|
# echo $SSH_AGENT_PID > $HOME/.ssh/.auth_pid
|
||||||
|
# fi
|
||||||
|
|
||||||
|
# # if agent isn't defined, recreate it from pid file
|
||||||
|
# if [ -z $SSH_AGENT_PID ]; then
|
||||||
|
# export SSH_AGENT_PID=`cat $HOME/.ssh/.auth_pid`
|
||||||
|
# fi
|
||||||
|
|
||||||
|
# # Add all default keys to ssh auth
|
||||||
|
# ssh-add 2>/dev/null
|
||||||
|
|
||||||
|
# # start tmux
|
||||||
|
# tmux attach
|
||||||
|
# fi
|
||||||
# fi
|
# fi
|
||||||
# <<< tmux initialization <<<
|
# <<< tmux initialization <<<
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ defaults
|
|||||||
auto_from on
|
auto_from on
|
||||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||||
syslog on
|
syslog on
|
||||||
logfile /var/log/msmtp.log
|
# logfile /var/log/msmtp.log
|
||||||
|
|
||||||
# MaLa
|
# MaLa
|
||||||
account jeff.lance@mala.fr
|
account jeff.lance@mala.fr
|
||||||
|
Loading…
Reference in New Issue
Block a user