Posts

Showing posts from November, 2022

Sample neovim config

Sample neovim config imap jk <Esc> set autoindent set expandtab set shiftwidth=2 set tabstop=2 nnoremap :Files ~ let g:fzf_action = { \ 'ctrl-t': 'tab split', \ 'ctrl-i': 'split', \ 'ctrl-v': 'vsplit' } call plug#begin() Plug 'junegunn/fzf', { 'do' : { -> fzf#install() } } Plug 'junegunn/fzf.vim' call plug#end() Config file is located in   ~/AppData/Local/nvim in Windows and ~/.config/nvim in Linux. init.vim is the name of the config file.

Mounting windows file share in Linux

 Mounting windows file share in Linux # Adapted from https://www.cyberciti.biz/tips/how-to-mount-remote-windows-partition-windows-share-under-linux.html mkdir -p /mnt/ntserver mount -t cifs //ntserver/download -o username=usernm,password=myPassword /mnt/ntserver

Visual Studio Code vim mode settings JSON:

"vim.insertModeKeyBindings" : [      {           "before" : [ "j" , "k" ],           "after" : [ "<esc>" ]      },     ],     "vim.useSystemClipboard" : true ,     "vim.useCtrlKeys" : false ,

Solving Ubuntu black screen in VirtualBox

 Solving Ubuntu black screen in VirtualBox 1) Make sure Hyper-V is off on Windows 2) Set video memory to 128 MB