After updating to Fedora 32 I noticed that sometimes, especially when I'm updating comments in a file, that the whole line jumps back to column1.
Anyone else seeing this behavior?
Also, it tries to indent for me in some code type files but it's using tabs instead of spaces and 8 spaces instead of 4. One would think in 2020 that software could "intuit" what the prevailing style is.
Thanks, RIchard
Sat, 13 Jun 2020 07:21:54 -0500 Richard Shaw hobbes1069@gmail.com:
Also, it tries to indent for me in some code type files but it's using tabs instead of spaces and 8 spaces instead of 4. One would think in 2020 that software could "intuit" what the prevailing style is.
Are those yaml files, by some accident?
On Sat, Jun 13, 2020 at 8:06 AM Łukasz Posadowski mail@lukaszposadowski.pl wrote:
Sat, 13 Jun 2020 07:21:54 -0500 Richard Shaw hobbes1069@gmail.com:
Also, it tries to indent for me in some code type files but it's using tabs instead of spaces and 8 spaces instead of 4. One would think in 2020 that software could "intuit" what the prevailing style is.
Are those yaml files, by some accident?
Mostly C/C++ and CMake files. I *THINK* I got it fixed by creating a ~/.vimrc file :
$ cat ~/.vimrc :set tabstop=4 :set expandtab :set shiftwidth=4 :set autoindent :set smartindent :set cindent
Thanks, Richard
Sat, 13 Jun 2020 08:14:59 -0500 Richard Shaw hobbes1069@gmail.com:
On Sat, Jun 13, 2020 at 8:06 AM Łukasz Posadowski mail@lukaszposadowski.pl wrote:
Sat, 13 Jun 2020 07:21:54 -0500 Richard Shaw hobbes1069@gmail.com:
Also, it tries to indent for me in some code type files but it's using tabs instead of spaces and 8 spaces instead of 4. One would think in 2020 that software could "intuit" what the prevailing style is.
Are those yaml files, by some accident?
Mostly C/C++ and CMake files. I *THINK* I got it fixed by creating a ~/.vimrc file :
$ cat ~/.vimrc :set tabstop=4 :set expandtab :set shiftwidth=4 :set autoindent :set smartindent :set cindent
I work with those lines: set expandtab set tabstop=2 set shiftwidth=2 set softtabstop=2 set autoindent set tabstop=8 set shiftwidth=2 set softtabstop=2 but sometimes it still defaults to a config from /usr/share/vim[version]/indent, depends of file type.