Compare commits
3 Commits
b37d418816
...
7ac510cc5c
Author | SHA1 | Date | |
---|---|---|---|
|
7ac510cc5c | ||
|
beb5e7dc8f | ||
|
8fc9f4effa |
@ -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;
|
||||
|
@ -39,6 +39,9 @@
|
||||
|
||||
# lock screen
|
||||
screensaver = [ "<Primary><Alt>l" ];
|
||||
|
||||
# disable screenshot
|
||||
screenshot = [];
|
||||
};
|
||||
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" =
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user