Questions tagged [autocmd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-9
votes
1answer
916 views

How to open .rar file from cmd? [closed]

I have .rar file with .exe into it. So, how with command cmd I can open this .exe file without extract rar?
-4
votes
2answers
1k views

How to convert and Execute lib_file.a Library file in Command prompt?

I have a lib_file.a library file which is a static library and it is converted from .c file. I know how to compile and execute .c files. But I dont know how to execute Library .a file using command ...
0
votes
1answer
169 views

how to display custom message when open a file in a specific directory?

I use the autocmd VimEnter * echo "some text" but this is showing for every file when I open. How to restrict this only for a specific folders? Let's say /tmp/test/sample.txt. If I want to use the ...
2
votes
1answer
5k views

How to know if an IRQ value is free to use

If we add a device that does not support PNP (Plug-an Play), the manufacturer will hopefully provide explicit directions on how to assign IRQ values for it. However, if we don't know what IRQ value ...
1
vote
1answer
1k views

vimrc specify more than 1 file extensions in autocmd

I know a little bit of autocmd and use it for few things. Currently, I have au BufNewFile,BufRead *.inc set filetype=sql au BufNewFile,BufRead *.tbl set filetype=sql Reading the man page, the ...