Compare commits

...

3 Commits

Author SHA1 Message Date
Giulio De Pasquale
7ac510cc5c fix vim comments 2021-06-30 19:52:53 +01:00
Giulio De Pasquale
beb5e7dc8f remove screenshot shortcut 2021-06-30 19:52:02 +01:00
Giulio De Pasquale
8fc9f4effa added nmap, gparted. use system home manager 2021-06-30 19:51:37 +01:00
3 changed files with 21 additions and 12 deletions

View File

@ -11,26 +11,29 @@
programs.neovim = {
enable = true;
extraConfig = ''
# syntax
" syntax
syntax enable
# color themes
" color themes
set termguicolors
colorscheme molokai
# wildcard mode
" wildcard mode
set wildmode=longest:full,full
# remapping popup menu (command autocompletion)
set cnoremap <expr> <up> pumvisible() ? "<C-p>" : "<up>
set cnoremap <expr> <down> pumvisible() ? "<C-n>" : "<down>"
set cnoremap <expr> <CR> pumvisible()? "<C-e>":"<CR>"
# set line numbers
" remapping popup menu (command autocompletion)
cnoremap <expr> <up> pumvisible() ? "<C-p>" : "<up>
cnoremap <expr> <down> pumvisible() ? "<C-n>" : "<down>"
cnoremap <expr> <CR> pumvisible()? "<C-e>":"<CR>"
" set line numbers
set number
# YouCompleteMe
" YouCompleteMe
let g:ycm_key_list_stop_completion = ['<C-y>', '<CR>']
let g:ycm_key_list_select_completion = ['<Up>', '<Down>', '<TAB>']
" enable indent guides
let g:indent_guides_enable_on_vim_startup = 1
'';
viAlias = true;

View File

@ -39,6 +39,9 @@
# lock screen
screensaver = [ "<Primary><Alt>l" ];
# disable screenshot
screenshot = [];
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" =

View File

@ -18,9 +18,6 @@ in {
imports = [ ./git.nix ./gnome.nix ./zsh.nix ./code.nix ];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "giulio";
@ -49,6 +46,9 @@ in {
# reversing
rizin
# networking
nmap
# development
clang
@ -65,6 +65,9 @@ in {
# misc
bind
# system
gparted
# autostart
albert_autostart
guake_autostart