I created a hostinger account few months back for a 2 year period, and haven't touched it much until I decided to use it as my development setup and learning lab.
One of the first step I did was to install JupyterLab in it, and setup a nginx configuration to have it accessible from internet.
Then at some point I wanted to take a break from extensive use of ai in web app development which I had been doing for few years as a hobby. I decided to use the linux environment in hostinger, and vim for my development setup. I mainly make apps in next.js, and supabase, and had some level of familiarity with it thanks to several tutorials. Later when I started to extensively use chatgpt, and other ai platforms to assist me in the web app development, I started to feel like I am not learning anything, and there is less challenge in doing this projects, and it doesn't match with my idea of having a hobby. It is in this point, I decided to go to more simple setup, and use alternative methods to assist me with the web development. I still make use of ai platform but in a lesser extent.
First Vim Settings
I have been regularly make 2 space intent to the react, and javascript files that I was editing using the command mode in Vim, and wished to make it a setting in Vimrc file. Apart from that I also wanted a minimal syntax highlighting, and a dark theme.
Below is my first version of .vimrc file.
" Color scheme configuration
colorscheme default
" Ensure vim uses the color scheme properly
syntax on
set background=dark
filetype plugin indent on
" show existing tab with 2 spaces width
set tabstop=2
" when indenting with '>', use 2 spaces width
set shiftwidth=2
" On pressing tab, insert 2 spaces
set expandtab