Questions tagged [autocmd]

6 questions
2
votes
1 answer

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 to specify, what command line should be used to…
Abdennour TOUMI
  • 902
  • 3
  • 12
  • 24
2
votes
1 answer

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 general syntax is :autocmd [group] {events}…
mtk
  • 26,802
  • 35
  • 91
  • 130
0
votes
1 answer

How do I change the name in multiple files in the middle one time?

For example I have 190 files and I want to add L001 in the middle. How can I do that using cmd command, or PowerShell if it is better? Also some numbers are 2 digits some are…
0
votes
1 answer

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 above logic for sample.txt in /tmp/test, how to do…
Deepak
  • 3
  • 1
-4
votes
2 answers

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 prompt. Thanks in Advance.
-9
votes
1 answer

How to open .rar file from cmd?

I have .rar file with .exe into it. So, how with command cmd I can open this .exe file without extract rar?
GOLDProFA
  • 105
  • 1